integrating dplot into an mfc program

Q&A for C, C++, and/or C# developers using DPlot
Post Reply
WALnicholson
Posts: 4
Joined: Tue Aug 21, 2012 2:41 pm

integrating dplot into an mfc program

Post by WALnicholson »

I'm having a problem with a mfc program I'm building which uses dplot jr.
My issue comes once a user has installed the program if they haven't already used the dplotjr.exe then dplotlib.dll throws an error about not knowing which version of dplot it's using. Once they have opened dplotjr.exe once then the error disappears. Is there any way to write the registry entry dplotlib.dll is looking for?
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

Yes. Take a look at the bottom of the page for the Help topic "Notes for DPlot Jr and DPlot Viewer users"
Visualize Your Data
support@dplot.com
WALnicholson
Posts: 4
Joined: Tue Aug 21, 2012 2:41 pm

Post by WALnicholson »

I'm still having the same error popup.
"The program requires DPlot or DPlotjr version 2.1.5.0 or later you are currently using
DPlot None
DPlotJr None
"

I've added the registry entry SoftwareDPLOT\DPLOTLIB\FOLDER
and Software\DPLOTJR\shell\open\command.

Any thoughts?
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

Run your setup program, then check the registry using regedit.exe. You should see something like this:

Image

If you don't, then something is wrong with your setup script. If you do and it still doesn't work, then something is wrong in dplotlib.dll (but that's unlikely, at least in this case).
Visualize Your Data
support@dplot.com
Post Reply