Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Struct to string?
Message
 
 
À
03/07/1998 09:28:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00113711
Message ID:
00114137
Vues:
24
Per,
>*!*1	    BOOL bHasExt;           /* @Field TRUE if extension memory present */
above 1 should be 4, but your total length of 684 for the 5th parameter to the end is correct.

It looks like you are talking to the DLL since you are getting a response back. It all boils down to what 35 means in the context of this DLL. And if the first 4 parameters are correct. Can you talk to it at a different baudrate? Is the function expecting some of the other struct fields to have non-zero values?

>*700-16
>PCDCONN=ToLong(0)+ToLong(1)+ToLong(1)+ToLong(8)+REPLICATE(CHR(0),684)
>per= PcdComOpen(@PCDCONN)
>?per
>I my case I'm to get a proper answer from the call to the PcdComOpen
>I only get 35 in return.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform