Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What is dwmain?
#1
Question 
I'm having trouble to understand what is dwmain. I run gcc -E with the following snippet and it prints nothing. It seems it can't interpret them.

Code:
if defined(__WIN32__)
#define dwmain(a, b) \
_dwmain(a, b); \
char ** API _dw_convertargs(int *count, char *start, HINSTANCE hInstance); \
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) {\
   int argc; \
   char **argv = _dw_convertargs(&argc, lpCmdLine, hInstance); \
   return _dwmain(argc, argv); } \
int _dwmain(a, b)
Reply


Messages In This Thread
What is dwmain? - by 1e9t8m29 - 02-17-2022, 04:21 PM
RE: What is dwmain? - by dbsoft - 02-17-2022, 11:06 PM
RE: What is dwmain? - by 1e9t8m29 - 02-18-2022, 06:31 AM
RE: What is dwmain? - by dbsoft - 02-18-2022, 12:10 PM
RE: What is dwmain? - by 1e9t8m29 - 02-18-2022, 04:07 PM
RE: What is dwmain? - by dbsoft - 02-18-2022, 04:28 PM
RE: What is dwmain? - by dbsoft - 03-22-2022, 07:50 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)