Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert from VB
Message
De
08/11/2002 14:51:42
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00719715
Message ID:
00720466
Vues:
11
>The error occurs when it reached the lnStatus = Logger_FileUpload(@lcFileStruc, @lcData) part
>

Just out of curiousity, did you ever try appending a NULL character to the end of your data buffer? Maybe it expects a null terminator in the last position - I can't imagine why since you have to pass it a filelength, but it's worth a SWAG.

>John.
>
>>>How do I find out?
>>>
>>
>>I can't see anything; it looks like the code should be correct. It's actually blowing yp at the point that you are doing the DECLARE...DLL; the only thing I can suggest is to try using the FOXTOOLS RegFn() and CallFn() routines to see if they handle it any better, or write a wrapper in VB.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform