我想在C/S结构

解决方案 »

  1.   

    具体的格式是什么? exec XXX.exe 吗?
      

  2.   

    HINSTANCE ShellExecute(
        HWND hwnd, // handle to parent window
        LPCTSTR lpOperation, // pointer to string that specifies operation to perform
        LPCTSTR lpFile, // pointer to filename or folder name string
        LPCTSTR lpParameters, // pointer to string that specifies executable-file parameters 
        LPCTSTR lpDirectory, // pointer to string that specifies default directory
        INT nShowCmd  // whether file is shown when opened
       );
      

  3.   

    shellexecute(handle,nil,pchar('c:\windows\notepad'),nil,nil,sw_shownormal);
    winexec('c:\windows\notepad',sw_normal);
      

  4.   

    如果要执行 c:\abc.exe 应该怎么写语句