Created
January 23, 2018 03:14
-
-
Save fortheday/86f7cd6663c79437503c785a0d0358c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 기본형 | |
#include <shellapi.h> | |
#include <shlobj.h> | |
ShellExecute(Handle, "open", "http://magicpotato.com/p", NULL, NULL, SW_SHOWDEFAULT); | |
// [용주] 음...저건 이미 띄어진 익스플로어창이 있다면 거기서 뜨는 문제가 있고 무조건 익스플로어 새창을 띄어서 하고 싶다면 요론식으로.... | |
{ | |
ShellExecute(NULL, "open", "IEXPLORE.EXE", "http://magicpotato.com/p", NULL, SW_SHOW); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment