Page 1 of 1

DPlotJR is not a "registered" DDE server?

Posted: Thu Mar 02, 2006 8:08 pm
by Frank Rice
Hello, I would like to use DPlotJR as a DDE server with National Instruments LabVIEW 8 as the client. Unfortunately, I seem to be only able to access DDE servers which have registered themselves with Windows XP. LabVIEW sees these servers as ActiveX objects. Can DPlotJR be registered as an ActiveX server object? I can initiate a link with Microsoft GRAPH, but not with DPlotJR!

Thanks in advance for any help you can offer!

Posted: Thu Mar 02, 2006 10:52 pm
by DPlotAdmin
I'm not very familiar with LabVIEW so I'm not sure how much help I'll be here. DPLOTLIB doesn't use ActiveX and there's nothing to register. It does use DDE but that's all transparent to the calling application. If you can call standard Windows DLLs (for example, any normal Windows API functions) from LabVIEW then you should be able to call functions in DPLOTLIB.DLL. You'll probably need to define the interface to the DPLOTLIB functions somewhere, as is done in the C, VB, and FORTRAN example programs. But unless LabVIEW really is restricted to calling ActiveX stuff only (and I'd be very surprised if that is the case) then you should be able to do this.

Posted: Fri Mar 03, 2006 8:36 am
by DPlotAdmin
After re-reading your post I realize I've jumped ahead of your question. As with DPLOTLIB.DLL, DPlot Jr does not use ActiveX. So that route may be closed to you. But you should be able to do most anything that you'd normally do through DDE by calling functions in DPLOTLIB.DLL.

Posted: Mon Mar 06, 2006 1:59 pm
by Frank Rice
Thanks, I should be able to access dplotlib.dll; The dplotlib.dll documentation refers to data type "int". How many bytes in this integer data type?

Best regards.

Posted: Mon Mar 06, 2006 2:10 pm
by Frank Rice
Oops, disregard my last message; I found what I needed in the HTML docs, not the readme PDF.