Re: Loading a Cygwin based DLL and calling exported functions

2010-12-08 Thread Reini Urban
2010/12/8 James Dickson: > VC++ 10.0 client application: > > int main(int argc, char ** argv) > { >     // 4k scratch space. >     char *stackbase; >     __asm >     { >         mov eax, fs:[4]; >         mov stackbase, eax; >     } > >     // Load cygwin dll. >     HMODULE cygwin_ptr = LoadLibrary

Loading a Cygwin based DLL

2010-12-08 Thread James Dickson
Hey, I just posted (apologies if I have the wrong mailing list) to see if anyone could help me with the following problem. I have successfully managed to load a cygwin based DLL through LoadLibrary into a VC++ 10.0 (as an aside I have also tried 8.0 and 9.0 compiler versions) compiled application

Loading a Cygwin based DLL and calling exported functions

2010-12-08 Thread James Dickson
Hey, I just posted (apologies if I have the wrong mailing list) to see if anyone could help me with the following problem. I have successfully managed to load a cygwin based DLL through LoadLibrary into a VC++ 10.0 (as an aside I have also tried 8.0 and 9.0 compiler versions) compiled application