Some time ago, there was a question about linking third party dll's with cdecl function declarations but without the @x-decorations: http://www.cygwin.com/ml/cygwin/2003-09/msg00307.html
Is there already a solution for this problem, as i've seen this test not working yet with recent binutils-20040312-1/ gcc-3.3.1-3 on cygwin-1.5.10-3 ?
Would the use of LoadLibrary()/GetProcAddress() help to keep the stack valid ?
Thought just to mention an interesting site i've found about this: http://mywebpage.netscape.com/yongweiwu/stdcall.htm
Thanks, Michael Haubenwallner -- Michael Haubenwallner SALOMON Automation GmbH Forschung & Entwicklung A-8114 Friesach bei Graz mailto:[EMAIL PROTECTED] http://www.salomon.at
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/