If i do
it doesnt happen anything.
All the path are corect and if i replace ComboBox1->Text with the path it has in it like:
it works just fine.
What could the problem be?
I use borland C++ builder!
Perhaps your combo box stores things as a length, and the data (meaning there is no expicit \0).
Copy the data to another array, and make sure there is a \0.
can execlp receive ansistrings as parameters ?
Just char* AFAIK, unless you have something OS specific going on.
well ComboBox1->Text is AnsiString... how can I convert it to char* ?
i have this:
void __fastcall TMain::Button3Click(TObject *Sender)
AnsiString S="-sub ";
if(CheckBox1->Checked) S=S+" -fs ";
else S=S+" ";
Read the manual pages on AnsiString and it's methods?
well... i've done something like this:
but still doesn't work