Delgine 3D Tools & Content DeleD Community Edition
Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

need help resolving 'no Plugin Version property' error

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DeleD Community Edition Forum Index -> DeleD Plugins
View previous topic :: View next topic  
Author Message
John
DeleD PRO user


Joined: 22 Dec 2008
Posts: 182
Location: Houston, TX

PostPosted: Fri Apr 24, 2015 3:57 am    Post subject: need help resolving 'no Plugin Version property' error Reply with quote

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
View user's profile Send private message
Jeroen
Site Admin


Joined: 07 Aug 2004
Posts: 5332
Location: The Netherlands

PostPosted: Fri Apr 24, 2015 6:31 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
John
DeleD PRO user


Joined: 22 Dec 2008
Posts: 182
Location: Houston, TX

PostPosted: Mon Apr 27, 2015 1:01 am    Post subject: Reply with quote

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
View user's profile Send private message
Jeroen
Site Admin


Joined: 07 Aug 2004
Posts: 5332
Location: The Netherlands

PostPosted: Mon Apr 27, 2015 8:50 am    Post subject: Reply with quote

Visual Studio's ways sometimes are weird. Wink Glad to see you've got things up and running! Cool
_________________
Check out Figuro, our online 3D app! More powerful 3D tools for free.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DeleD Community Edition Forum Index -> DeleD Plugins All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum