How to Convert String^ Array to Void* Array

  • Thread starter Thread starter R. Irudezu
  • Start date Start date
R

R. Irudezu

Guest
Development Environment: Win32 Desktop Application C++/CLI

I have a managed string array like this:

array<String^>^ array = gcnew array<String^>(10);

I've filled it string number such as: {"543534","534543","123213"};

What i have to do is to convert this array to a void* array.

void** voidArr = new void*[10];

How to do this?

BTW, this might be an absurd question for some of you. But I have a DB and a specific column contains string numbers. But a function that i have to use requires a void* array. So i have to convert it but i couldn't yet. Thanks in advance for any else idea or help.

Continue reading...
 
Back
Top