Is it possible to use windows functions from a console program? Specifically functions that work with registry or display settings?
Is it possible to use windows functions from a console program? Specifically functions that work with registry or display settings?
YesOriginally posted by Imperito
Is it possible to use windows functions from a console program? Specifically functions that work with registry or display settings?
Code:#include <windows.h> int main(){ MessageBox(HWND_DESKTOP,"Hello World","" ,MB_OK); return 0; }
MessageBox(HWND_DESKTOP,"Thanks","" ,MB_OK);
maybe so but what's the point in having an ugly console window?
The fact that you do not need to know the full WinAPI and all those wierd handles for windows to do simple stuff.
Originally posted by cppdude
maybe so but what's the point in having an ugly console window?
what's the point in having your ugly avatar?