Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert from VB
Message
From
08/11/2002 14:51:42
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00719715
Message ID:
00720466
Views:
10
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform