The object of type
char
cannot be "converted" to
char*
in any reasonable ways: they have completely different sense: an individual character vs a pointer to a character which can represent access to an individual character of an array of character data. I'm sure you need something different. The function
CreateProcess
is the one from Windows API and its usage is completely described here:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682425%28v=vs.85%29.aspx[
^].
This is a native function, so the difference between C++ or C++/CLI is irrelevant here, it could be C++ or C.
It looks like you are deeply confused about the very basics in programming: pointers, will need to learn a lot from scratch. I'm not sure you are ready to use mixed mode programming (managed + CLI) — just yet, need to step back and learn much more elementary things first.
—SA