Skip to content

Minimal win32 to run app with no cruntime dependency

Notifications You must be signed in to change notification settings

4Bruno/win32_no_crt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Minimal Win32 App with no cruntime

Credit goes to: Handmade hero

For debugging added external code for printf with minimal modification

Caveats:

  • No try/catch handler
  • Many libraries won't work as they need cruntime
  • Stack fixed to 1MB, won't allocate more if needed (I don't need)
  • No array initialization (int a[100] = {};)

Pros:

  • No hidden stuff

Usage: In project folder do:

cd src
..\build.bat debug
or
..\build.bat release

Implementations:

  • Window creation interface
  • Input interface

Wanna do:

  • Multithread interface

Maaaaaaaybe:

  • Linux

About

Minimal win32 to run app with no cruntime dependency

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published