Launch web page from my application

前端 未结 6 789
误落风尘
误落风尘 2021-02-14 09:43

Ok, this probably has a really simple answer, but I\'ve never tried to do it before: How do you launch a web page from within an app? You know, \"click here to go to our FAQ\",

6条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-14 10:45

    #include 
    
    void main()
    {
       ShellExecute(NULL, "open", "http://yourwebpage.com",
                NULL, NULL, SW_SHOWNORMAL);
    }
    

提交回复
热议问题