April 26th, 2011, 05:26 PM
Array in Win32 C++
I am creating a Win32 Dll Wrapper around my C# class library.
I am able to pass string from my C# to C++ application.
But i am not sure as to how can i pass string array in Win32 C++ project.
void Test(string lFile, int ver);
extern "C" __declspec(dllexport)
void _stdcall Test(char *lFile, int ver)
// Uninitialize COM.
I am able to pass string which is (char array in C++) and able to receive string.
But if i want to pass string array suppose
void Test(string versions) then is there any way to do it in Win32 C++ Project.
Help would be really appreciated.
Tags for this Thread
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!