|
|
|
|
#1 |
|
Junior Member
Join Date: Sep 2001
Posts: 34
|
Debugging question
Hi,
I've made some changes to my plugin and now it won't load anymore (without any error message). It still works on my development machine, but not anymore on another machine. I've installed on another machine and there's the same. I've tried both showing a MessageBox and writing a file to c:\ as first thing in the init()-function, but neither of it seems to be executed (but worked on the development machine). Is there some way to find out what exactly is happening here and/or why the plugin won't load? Regards, Christian PS: I don't know exactly what may have caused this since I don't regularly update on the other machine, but I guess it could have something to do with added png support (libpng & zlib). I also got a virus warning on 'zlib.dll' when I started trying around with libpng, but the warning pointed to the dll in Winamp's directory (I also found out that others seemed to have this problem as well). |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Aug 2008
Posts: 114
|
1. What are you using in developing it?
2. Develop a .exe file and execute on the other machines or upload the plugin here to test. It sounds like you dont have the dependency modules on the other computers. |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Sep 2001
Posts: 34
|
Yes, I think so, too.
I've just installed Visual C++ Express Edition on the test machine and now it works. But I don't have a clue what was missing before or how I can find out. I'm using another library and when I accidentally linked it dynamically, it was complaining that the DLL was missing (linked statically now). Now, there's no feedback on what's going on / is missing... I've uploaded the current plugin to 'wa-nowplaying.sourceforge.net' (nowplaying2.exe). There's also ml_nowplaying2.dll, which still runs on the test machine. |
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Aug 2008
Posts: 114
|
Determining which DLLs to redistribute
for any dynamic linking, the module must be present on the target machine. |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Sep 2001
Posts: 34
|
OK, I'll take a look later (currently at work)...
I'm only using zlib, libpng and intel jpeg library and boost's regex stuff which are all linked statically. Since I guess none of them come with Visual c++ express, I think it's maybe some ms dll missing on the test machine. Thank you so far... |
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Sep 2001
Posts: 34
|
Finally resolved the problem.
DependencyWalker and this was helpful. Since I figured out the plugin runs fine without the new CRT Dlls, I removed them completely and now everything runs fine without additional DLLs. Thanks for the help
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|