![]() |
makensis not finding plugin function
Hello,
Can you please take a look at this test plugin and tell me why makensis is unable to find the plugin function? Plugin: https://www.sendspace.com/file/qde368 I'm just calling it as NSISTest::_NSIS_Test and makensis reports that "Plugin not found, cannot call NSISTest::_NSIS_Test" The export is present and has a virtual size. Is this a bug in makensis or a problem with the way I'm building it? Thank you |
Which compiler and linker are you using?
That PE file does not have IMAGE_FILE_DLL set in NTHeaders->FileHeader.Characteristics. Also, you don't need to export DllMain... |
Thanks Anders. I'll go ahead and set that manually. I was using an old version of Digital Mars.
I know I don't need to export DllMain, but for some reason Digital Mars by default exports it, and I didn't change it. Thanks again |
You can get both old and new versions of Microsoft Visual C++ and GCC for free so I don't understand why you want to keep using this broken toolchain. Anyway, you should make sure LoadLibrary+GetProcAddress works on your .dll before blaming NSIS...
|
| All times are GMT. The time now is 17:19. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.