Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Handling extended ASCII codes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00691972
Message ID:
00693928
Vues:
20
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform