delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/05/03/21:48:45

From: ebritten AT ea DOT oac DOT uci DOT edu (Eric Britten)
Subject: Re: Exporting __stdcall Procs without _ and @n
3 May 1997 21:48:45 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <Pine.GSO.3.96.970503194020.1222B-100000.cygnus.gnu-win32@rigel.oac.uci.edu>
Mime-Version: 1.0
Original-To: gnu-win32 <gnu-win32 AT cygnus DOT com>
In-Reply-To: <0005205E.1893@po.cle.ab.com>
Original-Sender: owner-gnu-win32 AT cygnus DOT 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 AT n

For my case it wa

CPlApplet=CPlApplet AT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


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