From: ebritten@ea.oac.uci.edu (Eric Britten)
Subject: Re: Exporting __stdcall Procs without _ and @n
3 May 1997 21:48:45 -0700
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <Pine.GSO.3.96.970503194020.1222B-100000.cygnus.gnu-win32@rigel.oac.uci.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Original-To: gnu-win32 <gnu-win32@cygnus.com>
In-Reply-To: <0005205E.1893@po.cle.ab.com>
Original-Sender: owner-gnu-win32@cygnus.com



On Thu, 1 May 1997, Scott Mintz wrote:

>      Did you ever get this working?
>      
>      -Scott A. Mintz
> 

I finally got this to work with gcc.

In your def file include the following for each function that you don't
want mangled.

unmangled_name=mangled_name@n

For my case it wa

CPlApplet=CPlApplet@16

I built my dll, renamed to cpl, then ran it and it worked since Windows
could find the right name.

Thanks to all that helped me.

Eric

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
