Calling functions from dll supports string output type
But, unfortunately it is not documented how to implement such function inside C DLL
https://www.advancedinstaller.com/user- ... ll-std-dll
How to make the function that will return string value from standard DLL in C language.
Usually client provides a buffer to DLL, and DLL fills it with data. A memory allocated for string inside DLL should be released inside DLL otherwise if function give this buffer to advanced installer this cause memory leak.