Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Handling extended ASCII codes
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00691972
Message ID:
00693928
Views:
18
Hi Aaron,

acording to the specs I found on the FedEx site, this DLL supports a COM interface as well as a classic C library interface. The following declaration should work. I don't know the name of the DLL, but that should be easy to figure out.
DECLARE LONG FedExAPITransaction in whatever.DLL STRING @host, LONG  port, STRING @sbuf, LONG sbuf_len, long universalTransCode, STRING @rbuf, LONG rbuf_len, LONG @receive_length
When calling a DLL there's no conversion going on. BTW, I think it's a problem with the FedEx object, not VFP. The buffer parameter is incorrectly marked as a BSTR, not as a byte array.


Christof
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform