View previous topic :: View next topic |
Author |
Message |
John DeleD PRO user
Joined: 22 Dec 2008 Posts: 182 Location: Houston, TX
|
Posted: Fri Apr 24, 2015 3:57 am Post subject: need help resolving 'no Plugin Version property' error |
|
|
Hello! Been a while!
My goal is to write a plugin to import MD3 files...and perhaps export them if things work out. I was looking at the wiki page as a starting point:
http://www.delgine.com/wiki/index.php/Plugin_Development_in_C/C%2B%2B
So I created a VS2010 class library project and copied the code above into two files and built a DLL. I dropped the release mode built DLL into...
C:\Program Files (x86)\DeleD CE\Plugins
Then I restarted DeleD, and went to Plugins-Plugin Information dialog. The plugin did not appear in the list and this appears in the log...
4/23/2015 10:47:30 PM: deled_plugin_test.dll: no Plugin Version property.
Any ideas on a solution? |
|
Back to top |
|
|
Jeroen Site Admin
Joined: 07 Aug 2004 Posts: 5332 Location: The Netherlands
|
Posted: Fri Apr 24, 2015 6:31 am Post subject: |
|
|
You're writing in C++? Does your plugin have the following property:
Code: |
char* STDCALL PluginVersion() {
return "1.0"; } |
I guess so, as you copied the code, but just to be sure.
Also, is that .h file in place? I'm not a C++ coder myself so I don't know exactly what to do with that .h file, but it does contain needed DLL_EXPORT statements. These make sure the DLL actually exposes those methods to the outside world, so DeleD can call them. It seems the compiler creates a DLL that does not expose those methods. _________________ Check out Figuro, our online 3D app! More powerful 3D tools for free. |
|
Back to top |
|
|
John DeleD PRO user
Joined: 22 Dec 2008 Posts: 182 Location: Houston, TX
|
Posted: Mon Apr 27, 2015 1:01 am Post subject: |
|
|
The right functions were there but something was incorrect in my project settings. I got the plugin wizard here...
http://www.delgine.com/wiki/index.php/What_is_Visual_Studio_Wizard%3F
Go the wizard to work after a couple of hours.
I tried/failed to convert it for use with VS2010 by editing the files and permissions. Windows 7 was also auto-blocking some of the JavaScript files also and I found a work-around/hack to get the plugin to work but VS2010 totally crashed on me at the very end of the process.
I gave up on VS2010 and installed VS2008 express...went through the same changes/hacks and VS2008 did not crash on me at the end of the process of creating the DeleD project. Moved the DLL I built with the new wizard to the DeleD plugin folder and it seems to work properly. |
|
Back to top |
|
|
Jeroen Site Admin
Joined: 07 Aug 2004 Posts: 5332 Location: The Netherlands
|
Posted: Mon Apr 27, 2015 8:50 am Post subject: |
|
|
Visual Studio's ways sometimes are weird. Glad to see you've got things up and running! _________________ Check out Figuro, our online 3D app! More powerful 3D tools for free. |
|
Back to top |
|
|
|