怎么调用其他应用程序,如扫雷!

解决方案 »

  1.   

    最简单的,我用一个button,点了后,运行扫雷
      

  2.   

    使用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.   

    要添加什么单元吗?
    uses