cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Harmyder
Level 3

Memory for string returned from C++ DLL

How memory gets allocated for a variable that is passed into the DLL? How much data DLL can write into such a variable?

 

function STRING SetupDll_Do(szValue)
  STRING ret;
begin
  UseDLL(PATH_SETUPDLL); 
  setup.Do(szValue, ret);
  UnUseDLL(PATH_SETUPDLL); 
  return ret;
end;

 

 

Labels (1)
0 Kudos
0 Replies