Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

yea, you can:

System::String^ temp = saveFileDialog1->FileName;
IntPtr pointer_temp = Marshal::StringToHGlobalAnsi(temp);
const char* input_location = static_cast<const char*>(pointer_temp.ToPointer());

but take my warning: opencv and cli/managed stuff is not a marriage made in heaven