您的位置:知蚁博客 » ShellExecute
  • +39

    VC++中通过ShellExecute打开网址

    2011-05-09 By  分类:程序设计 8,306人浏览

      ShellExecute用于运行一个外部应用,我们可以通过这个函数来实现打开一个url地址,先来看看这个函数都有哪些参数: HINSTANCE ShellExecute( __in_opt  HWND hwnd, __in_opt  LPCTSTR lpOperation, __in      LPCTSTR lpFile, __in_opt  LPCTSTR lpParameters, __in_opt  LPCTSTR lpDirectory, __in      INT nShowCmd ); ...