On Tue, 01 Jul 2014 13:42:52 -0400, Paul Breneman <[email protected]> 
wrote:
>        Status := ps5000aGetUnitInfo( ps5000a_handle, @MyReturnStr[ 0], 
> StringLen, requiredSize, RInfo);
>

    Also, first character of string is 1'st, not 0'th. When passing string as 
PChar like that would cause overwriting internal string structures AFAIK.

-- 
Virgo Pärna 
[email protected]

_______________________________________________
fpc-pascal maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to