CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Help me!!

  1. #1
    Join Date
    May 1999
    Posts
    6

    Help me!!

    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!!


  2. #2
    Join Date
    Apr 1999
    Posts
    27,449

    Re: Help me!!

    The Win 32 function is GetModuleFileName(). Use NULL as the first parameter.

    Regards,

    Paul McKenzie


  3. #3
    Join Date
    Apr 1999
    Location
    Madrid (Spain)
    Posts
    46

    Re: Help me!!

    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...


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured