hwr-notes/Grafik/Hackbarth/Hackbarth Einstiegsprojekt.md
2026-04-09 11:24:56 +02:00

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;
};
```