From: xunxun <xun...@gm...> - 2012-01-07 09:55:03
|
Try to add -Wl,--kill-at to your linker option On Sat, Jan 7, 2012 at 6:36 AM, damateem <dam...@gm...> wrote: > I created a DLL with a function as such: > > int __declspec(dllexport) __stdcall ioOpen( void ); > > This results in an export of ioOpen@0. > > Now when I import the function dynamically, I have to request symbol > "ioOpen@0". > > Without __stdcall, the export is ioOpen and I can request symbol ioOpen > without issue. However, I want to stick with the __stdcall calling > convention. > > What is the standard practice? Is there a way to use __stdcall and > export a symbol without the @n? > > Thanks, > David > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > MinGW-users mailing list > Min...@li... > > This list observes the Etiquette found at > http://www.mingw.org/Mailing_Lists. > We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated. > > _______________________________________________ > You may change your MinGW Account Options or unsubscribe at: > https://lists.sourceforge.net/lists/listinfo/mingw-users > Also: mailto:min...@li...?subject=unsubscribe -- Best Regards, xunxun |