DLL has the following functions
function test: Variant;
var
s: string;
begin
s := 'dfkdj ';
Result := s;
end;
Internal use in my DLL, no problem.
However, I use another application, there will be Invalid pointer operation error.
Calling code is as follows:
function test: Variant;
var
s: string;
begin
s := 'dfkdj ';
Result := s;
end;
(Hope to help answer)
------------------------------------------------------------------------------
If you want to view more fashionable
omega speedmaster and
watches bell & ross. Please login
http://www.grinspoon.com.au/forum/in...howuser=258892