Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dll -help
Message
From
28/09/2004 16:00:37
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Dll -help
Miscellaneous
Thread ID:
00946894
Message ID:
00946894
Views:
62
I am using a dll file that allows me to communicate to a pressure controller. I can write commands to the controller but it will not read them back. I looked at the DLL and do not see anything out of the ordinary.

I looked a a VB project and the only thing is:

Dim RcvData(0 To 255) As Long

I cannot structure a Visual foxpro array like this. I this that this is the problem.

i = ReadNetVar(node, ID_SETPOINT, RcvData(0)) is the read command. and putting a monitor on the com port the command executes but no data comes back. I am fairly sure it is due to the variable not being used

I am using the declare command as follows:

Declare long ReadNetVar in 'tescom.dll' long,long,long@recdata

Any help would great.

Thanks
Rich
Next
Reply
Map
View

Click here to load this message in the networking platform