Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB Call to API vs VFP
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00255827
Message ID:
00256495
Views:
28
>Hi George,
>
>>The reason I suggested a STRING is that a normal (not Unicode) one character string contains 8 bits which is the size of a BYTE. However, VFP may include a null terminator on the string (CHR(0)) which may be causing the problems you're seeing.
>
>But a string is always passed as a pointer? How should an additional byte at the memory address cause a GPF?
>
>Christof

It shouldn't. That was my point. The DLL is going to going to move one byte. However, you or VFP evaluate it on return, is another matter.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform