Ver Mensaje Individual
  #2 (permalink)  
Antiguo 22/12/2007, 05:28
hugetto2
 
Fecha de Ingreso: diciembre-2007
Mensajes: 2
Antigüedad: 16 años, 5 meses
Puntos: 0
Re: Programación con Windows

Ya lo solucioné.
El problema és de el tipo de carácteres que utilizas.
Esto es lo que encontre en un post de internet:

In a nutshell -

LPTSTR translates as a char pointer or a wchar_t pointer depending on whether the UNICODE token is defined or not. UNICODE is native on WNT/2K/XP and ANSI is native on W9x. NT systems do a good job of automatically converting ANSI strings to UNICODE where needed, but W9x doesn't perform the reverse quite so well.

If you have a string literal value that you want in unicode when the UNICODE token is defined, use either the TEXT or _T macros.

LPTSTR myString = _T("Hello World!");

When UNICODE is not defined, the above is the same as

char *myString = "Hello World!";

And when UNICODE is defined, the above is the same as

wchar_t *myString = L"Hello World!";

The 'L' prepending the string literal informs the compiler to render the string using wide characters, aka unicode.


Espero que ayude a alguien más.

;)
http://www.gamedev.net/community/forums/topic.asp?topic_id=185015