delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/07/22/02:31:47

From: pete AT horus DOT cix DOT co DOT uk (Pete Jordan)
Subject: Mixing GNU-Win32 and MSVC++
22 Jul 1998 02:31:47 -0700 :
Message-ID: <memo.19980721202330.81A.cygnus.gnu-win32@horus.horus.cix.co.uk>
Reply-To: pete AT horus DOT cix DOT co DOT uk
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

I'm (attempting) to write a Perl scripting plug-in for a program written 
in MSVC++.

The program expects a set of entry points in the plug-in with particular 
names. Trouble is, egcs/ld insist on appending '@4'-style parameter counts 
to stdcall routine names and the program doesn't want them...

I've searched thus far in vain in the man pages, the FAQ and through this 
list for any way to switch the name mangling off - has anyone any 
suggestions for a way round this?

FWIW, I have the same problem with exported entries in the program - they 
lack the suffices. I've possibly dealt with this by adding the parameter 
counts to the names in the .def file I feed dlltool to generate the 
interface library to the program. This /seems/ to work; at least nothing 
complains during the build process, but without the first problem solved I 
can't actually check...

TIA for any help,

Pete Jordan ~ Horus Communications Ltd ~ http://www.horus.cix.co.uk/

"As soon as we have defined something, we have ipso facto created
 three things: whatever is included in our definition, whatever is
 not included in our definition, and the relationship between them."
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019