• Advertisement

Archived

This topic is now archived and is closed to further replies.

C++ application filename

This topic is 5506 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
Guest Anonymous Poster
argv[0] or __argv[0]
It includes the EXE file name though.

Share this post


Link to post
Share on other sites
I dont have argv, my Winmain function looks like this:

int WINAPI WinMain( HINSTANCE hInstance, // Instance
HINSTANCE hPrevInstance, // Previous Instance
LPSTR lpCmdLine, // Command Line Parameters
int nCmdShow) // Window Show State

Would that be lpCmdLine ?

Share this post


Link to post
Share on other sites

  • Advertisement