[fpc-pascal]Problems linking to TclTk
ddt at headrush.co.za
ddt at headrush.co.za
Thu Sep 5 10:35:58 CEST 2002
Why don't you use PTK.
It's available at www.headrush.co.za and is designed for just this task.
Its open-source btw.
Ciao
A.J. Venter
Original Message:
-----------------
From: cespern at free.fr
Date: Tue, 03 Sep 2002 19:49:12 +0200 (MEST)
To: fpc-pascal at deadlock.et.tudelft.nl
Subject: Re: [fpc-pascal]Problems linking to TclTk
Hello
> Does anyone have experience with this type of thing.
yes, when building a wrapper for the Sablotron library using CDECL
procedure and PChar Parameters .
As far I remember, mine was due to the fact that I must managed a string
variable outside of a
callback procedure and not as a local variable when converting it to a
PChar passed to another
procedure of the library. When not doing this the result were not the same
every time and I have
sporadic memory violation error depending on the size of the string and
others strange issues.
Hope this helps,
Christophe
_______________________________________________
fpc-pascal maillist - fpc-pascal at lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .
More information about the fpc-pascal
mailing list