64-bit DPLOTLIB.DLL

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

Moderator: DPlotAdmin

Post Reply
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

64-bit DPLOTLIB.DLL

Post by DPlotAdmin »

This is not ready for prime time but is getting close. Calls to DPlot_Request will crash any calling application for reasons I haven't figured out, but everything else seems to work.

If you're interested, get http://www.dplot.com/dplotlib/64bit/dplotlib64.zip

This contains 5 files:
ctest.c
dplot.h
(Copies of the original 32-bit console application with no significant changes)

dplotlib.lib: Import library for VS 2010
dplotlib64.dll: 64-bit version of dplotlib.dll
ctest.exe: Compiled demo program

If you find any problems other than with DPlot_Request, of course let me know.
Last edited by DPlotAdmin on Tue Sep 11, 2012 11:37 pm, edited 1 time in total.
Visualize Your Data
support@dplot.com
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

Update: The problem with DPlot_Request has been fixed, and the ctest2 demo (send data to DPlot from a windowed application, retrieve a bitmap of the plot from DPlot and display it within the caller, also report mouse position in graph coordinates for 2D plots) has been added.

Download location is the same: http://www.dplot.com/dplotlib/64bit/dplotlib64.zip

Other than a few changes to get rid of warnings in VS 2010 (sprintf -> sprintf_s, for example) the source code is essentially the same as that for the 32-bit versions.

As far as I know the ctest2 demo incorporates most of what developers will want to do with this, though I'll be adding other examples as time allows and eventually include all of this in the dplotlib distribution. Your comments are welcome.
Visualize Your Data
support@dplot.com
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

One more round, now including all vanilla C demos plus the VS 2010 project files so you don't have to guess at various settings.

Same location as before: http://www.dplot.com/dplotlib/64bit/dplotlib64.zip

C# demos will hopefully be coming soon, though they've been much more trouble than I expected. C# is not my first choice of languages and I know just enough to stumble through simple examples. If you want to take a stab at it I'll provide the source for DPLOTLIB64.DLL for debugging purposes and offer you enticements not decided on yet. If interested let me know at support@dplot.com.
Visualize Your Data
support@dplot.com
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

One more update. Get http://www.dplot.com/dplotlib/64bit/dplotlib64.zip

This distribution includes 4 demo programs in C, C#, and VB.NET. All were built with Visual Studio 2010.

As far as I can tell they all work perfectly, but of course if you run into problems please let me know.

These files will be included in the next DPlot (optional components) and DPlot Jr releases, hopefully coming tomorrow (Sunday, 22 September).
Visualize Your Data
support@dplot.com
Post Reply