AnsweredAssumed Answered

vrf Importing DLL's, passing by reference

Question asked by VRFuser on Aug 19, 2004
> Could one not create a string of nulls using the Data|Allocate Array|Text.

Nope. Try it. When you try to copy something to that string it will always
overflow and the result will maybe be a GPF. Any Text var can contain any
unsigned char *except* 0. Any time you stuff a 0 in anywhere, that
terminates the string. So, a string full of nulls has a length of 0. If you
try to use that to copy a string into, it will overflow.
-SHAWN-


---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes