Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Struct to string?
Message
 
 
To
03/07/1998 09:28:05
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00113711
Message ID:
00114137
Views:
26
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform