[fpc-devel] Unicode/wide string const

Oro06 orinaudo at gmail.com
Tue Aug 16 19:57:26 CEST 2005


Hi,
is there a way in fpc to declare hardcoded  const  directily in widestring ?
like this  : |MACRO_MY_HARCODED_STRING L"this is an UCS2 coded string"

in other words :

when doing this:

  MY_CONST = 'my const';

  MyWin32ApiCall( PWideChar(||MY_CONST));|
|
does the compiler convert to the right type ?

Thanks
Regards
|
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20050816/8dd60e93/attachment.html>


More information about the fpc-devel mailing list