[lazarus] FPC question,complex forward records?

Peter Vreman peter at freepascal.org
Fri Oct 11 01:17:23 EDT 2002


> Okay.. I think I have finished all of IDL, but before I send it in I
> have  two more questions.
>
> 1.) I have declared WChar_t as WideChar, is this correct/safe? I think
> it  is, but figure I should check first.

Depends on the target. For Win32 it's ok. For Linux and other Unixes it is
wrong. wchar_t is 4 bytes there. You can use the UCS4Char type.
> 2.) There is a function IDL_tree_to_IDL	 with a File *output parameter,
> what  should this be, Plongint? Pascal FILE type isn't compatible is
> it?

Just make it a void-pointer









More information about the Lazarus mailing list