You mean something like,
yeah I know.Code:procedure OpenNotepad; var StartInfo : STARTUPINFO; ProcessReturnInfo : PROCESS_INFORMATION; begin StartInfo.cb := sizeof(STARTUPINFO); StartInfo.lpReserved := nil; StartInfo.lpDesktop := nil; StartInfo.lpTitle := PChar(''); StartInfo.dwFlags := STARTF_USESTDHANDLES; StartInfo.cbReserved2 := 0; StartInfo.lpReserved2 := nil; StartInfo.hStdInput := 0; StartInfo.hStdOutput := 0; StartInfo.hStdError := 0; CreateProcess(nil, PChar('NOTEPAD.EXE'), nil, nil, FALSE, NORMAL_PRIORITY_CLASS, nil, nil, StartInfo, ProcessReturnInfo); end;Just playing around... (Read mood)
Actually, at one time programmed with Win16 and the ObjectWindows Library. (Borland Pascal 7, early 90s)




Just playing around... (Read mood)
Reply With Quote