Click to See Complete Forum and Search --> : Help me!!


shincheng
April 15th, 1999, 10:09 AM
In MFC,How can I get the path of my application (as App.Path do in VB)??
My English is poor! I hope you can understand what I mean!!
Thanks for your reply!!

Paul McKenzie
April 15th, 1999, 11:31 AM
The Win 32 function is GetModuleFileName(). Use NULL as the first parameter.

Regards,

Paul McKenzie

Miguel
April 15th, 1999, 11:46 AM
Hi Shinchen:
Prehaps, you can find the solution to your problem in the GetModuleFileName function.
You can see more information about this function, in the help file into Visual C++.

I hope that this text can help you.

Good luck, bye...