Old 1st September 2022, 11:27   #1
Ingvar
Junior Member
 
Join Date: Aug 2022
Posts: 20
Plugin compilation project settings

Hello!
I have a problem loading my plugin on other PCs.

In Visual Studio 2012 I set project configuration to "Release" and compiled my plugin dll.

When I sent my plugin to another computer or to clean virtual OS, Winamp doesn't load it. However, other third party plugins load and works well.

In Winamp "Preferences" window I see "NOT LOADED" message.

And log file \AppData\Roaming\Winamp\winamp.log contains error:
Quote:
[5.9.0.9999] [error] Error when loading the plugin 'gen_wa_plugin.dll'! Error code : 126!
Error 126 - means that specified module could not be found.

There seems to be a problem with dependencies.

In "C/C++ -> Code Generation" settings I found "Runtime Library" option. Now it has "Multi-threaded DLL (/MD)" value .

Should i change it to "Multi-threaded (/MT)"? Or any other settings?

I downloaded some WACUP plugin sources from github and in Release configuration this option is equal to "Multi-threaded DLL (/MD)".
That means that these plugins will have dependencies and Winamp won't load them either. But plugins like waveseek works well. Maybe developers forget to change this option to "/MT" in public projects? I don't understand.

So I want to ask plugin developers what Visual Studio project settings should be to compile release version of my plugin to help Winamp to loads it on other PCs?
Ingvar is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > Winamp Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump