Einzelnen Beitrag anzeigen

Benutzerbild von X-Dragon
X-Dragon

Registriert seit: 14. Jan 2003
Ort: Schortens
289 Beiträge
 
Delphi 6 Enterprise
 
#2
  Alt 5. Feb 2003, 13:42
Das sollte weiter helfen

Zitat:
The "L" macro is NOT a type conversion utility. It works only at COMPILE time to produce a UNICODE string constant.

If you need to convert from ASCII to UNICODE or back there are several alternatives. If you are using MFC, there are several macros defined in afxpriv.h that are convenient. In particular they are A2W or W2A.

Also at your disposal are the Windows SDK functions:

MultiByteToWideChar()
WideCharToMultiByte()

functions. These are the "standard" means of converting.
Quelle: http://www.experts-exchange.com/Prog...0141914.html#1
  Mit Zitat antworten Zitat