mirror of
https://github.com/theoleuthardt/hwr-notes.git
synced 2026-06-06 02:01:08 +00:00
docs: add obsidian hwr docs
This commit is contained in:
parent
b2636f4b92
commit
850aa3455d
245 changed files with 30757 additions and 0 deletions
22
Grafik/Hackbarth/Hackbarth Einstiegsprojekt.md
Normal file
22
Grafik/Hackbarth/Hackbarth Einstiegsprojekt.md
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# 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;
|
||||
};
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue