Optimized compilation errors ?

eurodislog

New Member
Licensed User
hi,
when compiling without 'optimized compilation', no problem with the 4 following lines :

1 - Msgbox(webRequest.ErrorMessage)
2 - Msgbox(webRequest.ErrorMessage, "")
3 - Msgbox(webRequest.ErrorMessage, "Titlebox", cMsgboxOK)
4 - Msgbox("Error:" & webRequest.ErrorMessage, "Titlebox", cMsgboxOK)

BUT with 'optimized compilation' set i get :

for line 1 & 4 :
"Error compiling program. Error CS1525: Expression term ',' not valid"

and no error for line 2 & 3 !

what's wrong ?
thanks
 
Top