#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM);
char szClassName[ ] = "WindowsApp";
int WINAPI WinMain (HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
int ret = MessageBox(NULL,TEXT("是否进入啊哈C官网"),TEXT("特别感谢rosynirvana"),MB_YESNOCANCEL|MB_ICONQUESTION);
if(ret==IDYES)
{
system("start http://www.ahalei.com/portal.php");
}
return 0;
} |