mirror of
https://github.com/theoleuthardt/hwr-notes.git
synced 2026-06-06 03:01:08 +00:00
22 lines
484 B
Markdown
22 lines
484 B
Markdown
# Einstiegsprojekt in Visual Studio
|
|
|
|
### Erstellung des Projekts
|
|
- C++ Game erstellen auswählen (Win11 SDK wichtig!)
|
|
- Desktop Installer Projekt erstellen
|
|
- main.cpp als Entrypoint
|
|
- windows.h inkludieren für Windows API!
|
|
- Docs: [Windows API Docs](https://learn.microsoft.com/en-us/windows/win32/learnwin32/creating-a-window)
|
|
|
|
```
|
|
#include <Windows.h>
|
|
|
|
int main(
|
|
HINSTANCE hInstance,
|
|
HINSTANCE hPrevInstance,
|
|
LPSTR lpCmdLine,
|
|
int nShowCmd
|
|
)
|
|
{
|
|
return 0;
|
|
};
|
|
```
|