Thread: MFC Standalone App

  1. #1
    ResurgentBarbecue UnclePunker's Avatar
    Join Date
    May 2002
    Posts
    128

    MFC Standalone App

    I have got a really simple MFC application, it is only a few lines of code to manipulate a couple of text files, I want it to work on any computer, could someone tell me how to make it a standalone program, at the moment if I try use it on a computer that I dint write it on, it has an error message about missing .dll's, I could copy the .dll's across but I would like it to work without having to do that.

    It is a dialog based MFC app.

    Thanks in advance.
    Compiler == Visual C++ 6.0
    "Come Out Fighting."

  2. #2
    Registered User Xzyx987X's Avatar
    Join Date
    Sep 2003
    Posts
    107
    Well, copying the DLLs is how people usually do it... I'm not even sure if you can do it without them. My advice is if you really want a standalone app than code it in the windows api .

  3. #3
    Registered User Dante Shamest's Avatar
    Join Date
    Apr 2003
    Posts
    970
    Make sure your MFC project is statically-linked with the MFC libs.

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. Making standalone APP run in background
    By hart in forum Windows Programming
    Replies: 3
    Last Post: 02-27-2005, 11:20 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. How do I make my Linux app standalone?
    By Joda in forum C++ Programming
    Replies: 2
    Last Post: 11-27-2002, 04:53 AM
  5. WIndows programming?
    By hostensteffa in forum Windows Programming
    Replies: 7
    Last Post: 06-07-2002, 08:52 PM