How to send int WINAPI WinMain()arguments from int main()

  • Thread starter Thread starter Learner177
  • Start date Start date
L

Learner177

Guest
i have this code and i want to use simple main like int main() is there anyway i can pass below int WINAPI WinMain() arguments from int main()

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, INT nCmdShow)



i tried this but it doesn't work

int main(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, INT nCmdShow)

Continue reading...
 
Back
Top