A
AA2e72E
If I have a function such as this (in a Win32 project):
_declspec (dllexport) char* _stdcall view()
{
char* output;
// HOW DO I assign "THIS IS AN ARBITRARY STRING" to output
return output;
}
The objective is that a native (unmanaged code) client [that is, I cannot
use _clrcall] calling the function view in the Win32 DLL receives the string
"THIS IS AN ARBITRARY STRING"
Thanks for your help.
_declspec (dllexport) char* _stdcall view()
{
char* output;
// HOW DO I assign "THIS IS AN ARBITRARY STRING" to output
return output;
}
The objective is that a native (unmanaged code) client [that is, I cannot
use _clrcall] calling the function view in the Win32 DLL receives the string
"THIS IS AN ARBITRARY STRING"
Thanks for your help.