Hi,
I've got this code piece (from Semen I believe) that works just great
In the cmdline$, I've got both the full path of the program (PBDLL.exe) as well as the .bas file to compile.
One problem: custom installation means an option to install in C:\Program Files\ !
This means: the break is made based on the space, so there's a message saying something : can't find Files\...
I tried seperating the two pieces by single quote and double quotes but that doesn't work. How can I solve this ?
BTW : W2K doesn't have this problem.
Sincerely
Jeroen
------------------
I've got this code piece (from Semen I believe) that works just great
Code:
Sub ExecCmd(cmdline$) Dim proc As PROCESS_INFORMATION Dim start As STARTUPINFO ' Initialize the STARTUPINFO structure: start.cb = Len(start) ' Start the shelled application: ret& = CreateProcessA(0&, cmdline$, 0&, 0&, 1&, NORMAL_PRIORITY_CLASS, 0&, 0&, start, proc) ' Wait for the shelled application to finish: ret& = WaitForSingleObject(proc.hProcess, infinite) ret& = CloseHandle(proc.hProcess) End Sub
One problem: custom installation means an option to install in C:\Program Files\ !
This means: the break is made based on the space, so there's a message saying something : can't find Files\...
I tried seperating the two pieces by single quote and double quotes but that doesn't work. How can I solve this ?
BTW : W2K doesn't have this problem.
Sincerely
Jeroen
------------------
Comment