Due to server problems the website is temporarily offline! Visit http://www.smorgasbordet.com/pellesc/ to download Pelles C.
char _szErrorMessage[1024] ;LPSTR _lpszStart, _lpszError ; _lpszError = _lpszStart = _szError ; while(*_lpszStart++) ; _lpszStart = _lpszStart - _lpszError ;
error #2168: Operands of '=' have incompatible types 'char *' and 'long long int'.
I want to replace lstrlen with following code :Code: [Select] char _szErrorMessage[1024] ;LPSTR _lpszStart, _lpszError ; _lpszError = _lpszStart = _szError ; while(*_lpszStart++) ; _lpszStart = _lpszStart - _lpszError ;I get the following error:Quoteerror #2168: Operands of '=' have incompatible types 'char *' and 'long long int'.Why?Could someone help me?