passing paramter to MFC App

This is a discussion on passing paramter to MFC App within the Windows Programming forums, part of the Platform Specific Boards category; Hi Everyone, Does anyone know how to pass a command line paramter to MFC Dialog app. Please let me know? ...

  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, 08:11 AM
  2. Client - Server TCP/IP MFC app..... Help!
    By amedinadiaz in forum C++ Programming
    Replies: 0
    Last Post: 10-26-2005, 12:57 PM
  3. STATIC text label or LABEL in Windows APP - NO MFC!
    By triste in forum Windows Programming
    Replies: 5
    Last Post: 10-26-2004, 12:14 AM
  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, 09:52 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21