Thread: passing paramter to MFC App

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    68

    passing paramter to MFC App

    Hi Everyone,

    Does anyone know how to pass a command line paramter to MFC Dialog app. Please let me know?

    Thank You,

  2. #2
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    One solution is to add AfxWinMain() to the current MFC project. Check out this website.

    http://www.pocketpcdn.com/articles/m...mand_line.html

    Check out my website for more software development links.

    http://www.dslextreme.com/users/kuphryn/links.html

    Kuphryn

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. non-MFC DLL with MFC app question.
    By Kempelen in forum Windows Programming
    Replies: 10
    Last Post: 08-20-2008, 07:11 AM
  2. Client - Server TCP/IP MFC app..... Help!
    By amedinadiaz in forum C++ Programming
    Replies: 0
    Last Post: 10-26-2005, 11:57 AM
  3. STATIC text label or LABEL in Windows APP - NO MFC!
    By triste in forum Windows Programming
    Replies: 5
    Last Post: 10-25-2004, 11:14 PM
  4. MFC Standalone App
    By UnclePunker in forum Windows Programming
    Replies: 2
    Last Post: 03-24-2004, 11:53 AM
  5. WIndows programming?
    By hostensteffa in forum Windows Programming
    Replies: 7
    Last Post: 06-07-2002, 08:52 PM