If you're that worried about size, use a previous toolset as others have suggested as well as incorporating your own c runtime and disabling default libraries. You'd dynamically load them using ntdll, or kernel32. Don't compile with debugging information, compile on release, and exclude the manifest.
You could even build a native application, but then that would have to be loaded using ntdll, or manually mapped.
And of course, not including CRT you must define your entry point.. as well as disabling security checks
You could even build a native application, but then that would have to be loaded using ntdll, or manually mapped.
And of course, not including CRT you must define your entry point.. as well as disabling security checks
