Trying to compile the pgtcl.dll, had to hack pgtclid.c as follows,
and also link against setupapi.dll and libtcl80.a
How can I do a simple test on the DLL ?
Thanks in advance, Clive
P.S. not on the mailing list.
bash$ diff pgtclid.c.org pgtclid.c
26a27,29
> #ifdef __CYGWIN32__
> int hspfileq;
> #endif
689a693,702
> #ifdef __CYGWIN32__
> hspfileq = SetupOpenFileQueue();
> SetupCommitFileQueue(
> NULL, // optional; parent
window
> hspfileq, // handle to the file
queue
> &Pg_Notify_FileHandler, // callback routine to
use
> (ClientData) connid // passed to callback
routine
> );
>
> #else
693a707
>
700a715
> #endif
712a728,730
> #ifdef __CYGWIN32__
> SetupCloseFileQueue(hspfileq);
> #else
715a734
>
721a741
> #endif