Page 1 of 1

Error message

Posted: Sun Mar 11, 2007 12:37 pm
by franckgaz
hello DAVID,

I try to create my own plugin with MSVC6, when I lauch DPlot i'v got the message :

"Cannot load plugin_ini in m:\program files\dplot\plugins\generate\bessel.dll"

Could give me any explanation about this kind of message ?

Thank's a lot in advance.

Franck

Posted: Sun Mar 11, 2007 7:16 pm
by DPlotAdmin
Franck,
That message almost certainly said "plugin_init" rather than "plugin_ini".

plugin_init is a required function in all plugin modules. See http://www.dplot.com/help/index.htm?helpid_plugin.htm

Also see the two plugin examples in http://www.dplot.com/plugins.zip

Let me know if you have any questions after checking both of those links.

Error Message

Posted: Mon Mar 12, 2007 3:27 pm
by franckgaz
Well,
I didn't check one more time the exact message.
Well, I tried to do a new project in VC6 (dll with no MFC), I use the invert.c, dplot.h files and build it (->ok).
But when I try to lauch DPLOT I have this message.
If I use your example there is no problem.

Can you give me more informations how to create the project in MSVC6 or can I send you my files to check them.

Best Regards

Franck

Error Message

Posted: Mon Mar 12, 2007 3:27 pm
by franckgaz
Well,
I didn't check one more time the exact message.
Well, I tried to do a new project in VC6 (dll with no MFC), I use the invert.c, dplot.h files and build it (->ok).
But when I try to lauch DPLOT I have this message.
If I use your example there is no problem.

Can you give me more informations how to create the project in MSVC6 or can I send you my files to check them.

Best Regards

Franck

Posted: Mon Mar 12, 2007 8:11 pm
by DPlotAdmin
Franck,
Under Project Settings select the C/C++ tab, for Category=Code generation make sure you've selected __cdecl. That's the default so I wouldn't think that would be the problem, but that's all I can think of at the moment.

You are welcome to send me your project files but it will be Wednesday before I can look at them; I'm on the road with limited computer time.

Error message (the end)

Posted: Tue Mar 13, 2007 3:17 pm
by franckgaz
Hello David,

I found the problem, it was during the process of creation of the project :
I made at first time a "Simple DLL Project" instead of a "An Empty DLL Project".

With an empty DLL project there is no more problem.

Thank's a lot for your help.
Excuse me for my bad English (I am living in France).

Best Regards

Posted: Tue Mar 13, 2007 10:45 pm
by DPlotAdmin
Franck,
I'm glad you figured this out, thanks for the reply. And please don't worry about your English. It is fine and certainly much better than my French :-)