[fpc-pascal]Windows unit Examples

Gabor DEAK JAHN djg at tramontana.co.hu
Thu Aug 16 03:35:54 CEST 2001


At 8/15/01 06:07 PM, you wrote:

Dear Full_Name (?),

 > I don't think you can do automation with FPC yet?! Not OLE Automation, 
which
 > is kind of what you imply.

I do it regularly, although I had spurious errors and crashes and I
temporarily reverted to C with an ongoing project. You have to write your
own calling mechanism but then you can use it freely. Basically, you create
a helper routine that fills the appropriate data structures with your
parameters then call the necessary Windows routines. The original C way of
doing it is the same, you can simply translate it to Pascal. FPC doesn't yet
have Unicode string support but this only causes small and surmountable
problems (the best solution is found was to use the Windows Unicode string
functions instead of the FPC RTL ones).


Regards,

   Gabor DEAK JAHN

-------------------------------------------------------------------
Gabor DEAK JAHN -- Budapest, Hungary.
WWW: www.tramontana.co.hu
E-mail: djg at tramontana.co.hu





More information about the fpc-pascal mailing list