mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2024-11-29 15:11:48 +00:00
d16da069e9
This is a thin wrapper around the Win32 API used in the Win32 Updater Dialog implementation.
27 lines
478 B
C++
27 lines
478 B
C++
///////////////////////////////////////
|
|
// main.cpp
|
|
|
|
#include "Wincore.h"
|
|
|
|
// Notes:
|
|
// 1) This application doesn't end when the window is closed
|
|
// 2) Add the Win32++\include directory to project's additional include directories
|
|
|
|
|
|
|
|
int APIENTRY WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
|
|
{
|
|
// Start Win32++
|
|
CWinApp MyApp;
|
|
|
|
// Create a CWnd object
|
|
CWnd MyWindow;
|
|
|
|
// Create (and display) the window
|
|
MyWindow.Create();
|
|
|
|
// Run the application
|
|
return MyApp.Run();
|
|
}
|
|
|
|
|