Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dll -help
Message
De
28/09/2004 16:00:37
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Dll -help
Divers
Thread ID:
00946894
Message ID:
00946894
Vues:
61
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform