Tech Support > Microsoft Windows > Customizing > open NTvdm as a separate process
open NTvdm as a separate process
Posted by Bash on November 7th, 2005


Hey All....

I am working in visual basic 6.0 and the Operating System is Windows XP
and i want that every DOS application will open as a separate process
(Parent Process).I am using Createporcess API in which there is option
(Parameter) "bInheritHandles" which is set to false for this problem
but still have a problem

Declare Function CreateProcess Lib "kernel32" Alias "CreateProcessA"
(ByVal lpApplicationName As Long, ByVal lpCommandLine As String, ByVal
lpProcessAttributes As Long, ByVal lpThreadAttributes As Long, ByVal
bInheritHandles As Long, ByVal dwCreationFlags As Long, ByVal
lpEnvironment As Long, ByVal lpCurrentDirectory As Long, lpStartupInfo
As STARTUPINFO, lpProcessInformation As PROCESS_INFORMATION) As Long


..can anyone help me ...............................................

thanks


Similar Posts