Error message

Q&A for C, C++, and/or C# developers using DPlot

Moderator: DPlotAdmin

Post Reply
franckgaz
Posts: 10
Joined: Sat Mar 03, 2007 4:14 pm
Location: France

Error message

Post 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
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post 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.
Visualize Your Data
support@dplot.com
franckgaz
Posts: 10
Joined: Sat Mar 03, 2007 4:14 pm
Location: France

Error Message

Post 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
franckgaz
Posts: 10
Joined: Sat Mar 03, 2007 4:14 pm
Location: France

Error Message

Post 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
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post 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.
Visualize Your Data
support@dplot.com
franckgaz
Posts: 10
Joined: Sat Mar 03, 2007 4:14 pm
Location: France

Error message (the end)

Post 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
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post 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 :-)
Visualize Your Data
support@dplot.com
Post Reply