Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   Winamp Technical Support (http://forums.winamp.com/forumdisplay.php?f=11)
-   -   Manually setting links to exported DLL data? (http://forums.winamp.com/showthread.php?t=54398)

Flight16 8th July 2001 16:16

I was browsing the forums and found a message where a guy's code was all right but his plugin wasn't showing up in winamp's list. He exported the winamp struct and everything, but it still wasn't showing up.

In a reply, somebody suggested checking your linking settings and to manually export that struct (or something like that.. I'm a little new to this DLL stuff), or making sure it was getting linked and exported. ...how is this done in VC++ 6.0? I've tried to search the msdn docs but haven't found anything yet.

Thanks for your time,
Flight16

peter 8th July 2001 16:36

bleh
 
project / settings / root node / link / add "/EXPORT ..." to linker options.
if you have msvc6, straight extern "C" {} + _declspec(dllexport) should work correctly w/o extra linker options.


All times are GMT. The time now is 11:43.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.