tyrus
9 years agoContributor
DLL issue
Hi I have a win dll with method: //TestingtDLL.dll extern "C" __declspec(dllexport) const char* md5(const char* fileName) { return fileName; } I try calling through TC and I get erro...
Perhaps in the second case, you were getting lucky... This article ( Using String Parameters in DLL Function Calls ) is saying that returning a string as the function result is not supported.
thanks, so can I pass an array of ints?
I suppose I could convert the string to asciicodes?
what is the work around for this limitation?