Project->Properties->Configuration Profiles->Character Set
Change the character set to Multi-Byte...
Well I'm having an error when compiling the DLL good I do not modify anything but look at the source that is giving the error will show a print:
Good if you already have the source with this error corrected corrected her post here or if you know how to fix it in post a corrected print
Bom estou tendo um erro quando compilo a DLL bom eu nao modifiquei nada na source mas olhe o erro que esta dando vou mostrar um print :
Bom se vocês tem a source ja com este erro corrigido postem aqui ela corrigida ou se vocês saberem como fazer a correção post um print de ela corrigida
Project->Properties->Configuration Profiles->Character Set
Change the character set to Multi-Byte...
Go to General from your picture. i think yours is on uni-code. Change to Multi-Bye. Also if you dont wanna do that you could go to your error:
Original
- DrawText
Modified
-DrawTextA
Then ull be good to go!
Change to multi-byte, like everyone else has said.
Properties->General->Character Set->(Defult will be Uni-Code, Change to Multi-Byte)
flameswor10 (01-12-2011)
VERY GOOD BUT SOMEBODY KNOWS WHERE I ADD HACKS and updates the LT CLIENT?
A is ANSI and U is Unicode.
Example:
Code:char text[] = "hello"; MessageBoxA(0, text, 0, 0); //this works wchar_t text[] = L"hello"; MessageBoxW(0, text, 0, 0); //also works char text[] = "hello"; MessageBoxW(0, text, 0, 0); //this doesnt work wchar_t text[] = L"hello"; MessageBoxA(0, text, 0, 0); //also doesnt work //if you use MessageBox (you say not if ansi or unicode) then //the compiler decides what function to call depending on which //characterset you have set (ansi or unicode)
Yepikiyay (01-13-2011)