This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Memory for string returned from C++ DLL
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 11, 2020
08:19 PM
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;
(0) Replies