Archive: Problem with StrCpy


Problem with StrCpy
Hey folk,

I have got some very strange problem with "StrCpy".

I have done the following within my script:

StrCpy$WEB_CONFIG_NAME"$INSTDIR\\www\\htdata\\w4d\\config\\w4d.ini"

Now I get the following error message from compiler:

Usage:StrCpy$(user_var:output)str***91;maxlen***93;***91;startoffset***93;

Strange with this is, that I copied the "StrCpy" from other file and just changed variable name from "$PHP_CONFIG_NAME" to "$WEB_CONFIG_NAME" and "php.ini" to "w4d.ini".

Someone some ideas about that ?

did you actually define $WEB_CONFIG_NAME as a variable further up in your script using "var WEB_CONFIG_NAME" ?


Hi,

I think I need some journey, that was the perfect answer to my problem. I have done that a lot of times befor .. :rolleyes: