Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <40E44433.4090204@salomon.at> Date: Thu, 01 Jul 2004 19:04:51 +0200 From: Michael Haubenwallner User-Agent: Mozilla Thunderbird 0.5 (X11/20040601) MIME-Version: 1.0 To: cygwin AT cygwin DOT com CC: RaoulGough AT yahoo DOT co DOT uk Subject: Problems linking stdcall functions from DLL Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS perl-11 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:michael DOT haubenwallner AT salomon DOT at 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/