[prev in list] [next in list] [prev in thread] [next in thread]
List: mingw-users
Subject: Re: [Mingw-users] Creating a mingw dll _with_ underscores
From: Danny Smith <dannysmith () clear ! net ! nz>
Date: 2006-11-25 1:21:45
Message-ID: 000901c71030$1325afa0$be4861cb () anykey
[Download RAW message or body]
Didier Trosset
Friday, 24 November 2006 2:19 a.m.
> To: mingw-users@lists.sourceforge.net
> Subject: [Mingw-users] Creating a mingw dll _with_ underscores
>
>
> Hello,
>
> I want to call a mingw created dll from a msvc executable.
> But I do not have
> control on the executable creation. Therefore, I need the
> functions exported by
> the mingw dll to have the leading underscore.
>
You could use a def file to define aliases in dll,
Are you linking with a mingw-built import lib or using a MSVC lib.exe
generated lib.
If the former:
; foo.def
EXPORTS
get_foo@4
_get_foo@4 = get_foo@4
;GET_FOO = get_foo@4
Danny
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
MinGW-users mailing list
MinGW-users@lists.sourceforge.net
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic