[RESOLVED] [convert C++ to VB] - how convert these line to VB?
how can i convert these line to VB?
Code:
system("gcc -o c:\\path\\myfile.cpp myfile");
Re: [convert C++ to VB] - how convert these line to VB?
Re: [convert C++ to VB] - how convert these line to VB?
That looks an instruction to shell execute the gcc compiler. If that's so then you can use Shell in VB6 or Process.Start in VB.Net.
Re: [convert C++ to VB] - how convert these line to VB?
Quote:
Originally Posted by
Niya
That looks an instruction to shell execute the gcc compiler. If that's so then you can use Shell in VB6 or Process.Start in VB.Net.
thanks
Re: [convert C++ to VB] - how convert these line to VB?
(VB6 code)
if the Dev C++ command line is:
Code:
gcc myfile.cpp -o myfile
and for command line we use shell():
Code:
Shell App.Path & "\MinGW32\bin\gcc.exe -o " & App.Path & "\test.cpp " & App.Path & "\test.exe"
(i have sure that test.cpp is correct, because i have tested)
then why the exe isn't created?