Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interfacing C DLL with Fox.
Message
 
 
To
23/09/1998 11:01:16
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00139024
Message ID:
00139886
Views:
43
Vlad,

That's the max number of characters to copy. Since it's a string copy I do believe it'll stop at the first terminating null in the source string provided it occurs before the iMaxLength is reached.

>Probably it will work. But, as you say, it's ugly. Did you try lstrcpyn()? It has a 3rd param that is the number of chars to be copied.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform