View Full Version : Gen_plugins Not Loading??
I wrote a gen_plugin, and it worked until a recent upgrade.
Now I'm trying to get a simple sample code plug-in to work, as well as mine.
Preferences -> Plug-ins -> General Purpose has a wierd clue:
it shows both mine and the demo code, and says
[NOT LOADED] after each one!
What might be going on? I never looked at this while my plugin was functioning, but speculate that it doesn't say NOT LOADED if it's loaded.
if you could refer me to a plug-in which resides in a straightforward gen_foo.dll in Plugins, I could see if it works in my installation, or also gets the NOT LOADED message.
Either all my general plugins are failing to load, or just the two I have created are failing. That would be odd cuz I wrote one and it worked for months, and the other one I didn't write (just compiled) and they both don't work and report this NOT LOADED message.
I finally got a general plugin working.
Someone had changed the stringency about the gen_ DLL bootup.
Then it got really icky: I'd try to move the C sample to C++,
and whammo, it'd die.
I wrestled with name decoration, and really
got pretty far toward
having C in a LIB, call my C++ when I'm booted up...
then I upgraded compilers,
and the VC++ .NET added errors due to standard libraries... due to having the C code in a .LIB.
THEN I TRIED WASABI.
And its architecture is MUCH more suited for this, but it's not reliable enough yet to accept... so
I'm working with Windows Media Player... but its architecture might never support what I was doing...
SO I MIGHT RETURN TO WINAMP2... as for why anyone would make the bootup rules more stringent, I don't know. And we really are hassling with the old DLL C architecture. But I'm running out of options. Perhaps, chute, PERHAPS SOMEONE HAS A GEN_*.DLL sample written entirely in C++ MFC which I can paste in! That'd rule!
29th May 2002, 13:07
Take a look at this thread: http://forums.winamp.com/showthread.php?s=&threadid=82651
It contains a clean example written in VC++ 6.0 and uses MCF.
thanks for the tip, i might use this one yet.
yesterday i found code by James Spibey that worked great!!!
I'm so pleased to be back online.
Whatever broke me in the upgrade, I dunno, but someone should get thwacked!
Now I have to be really careful about upgrades.
Why would you change the class name?
Why would you change the plugin boot rules?
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.