Thread: building stand-alone there an easy way?

  1. #1
    Registered User
    Join Date
    Dec 2006

    building stand-alone there an easy way?


    I was just wondering, is there a way to create programs from C++ code that don't rely on .dll files or any other files? Something that you just have to run an executable?

    The reason that I need to do this is because I have written a C++ program using the compiler DEV-C++ on windows XP for an embedded microprocessor running on windows CE (a cut down version of windows 2000). When I go to run the program on windows CE, it shows an error saying its missing associated files. I think it may not be reading the .dll's.

    thanks for your help in advance

  2. #2
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Well, you could always compile your program with a compiler so old that DLLs hadn't been invented yet.

    The best idea is to re-compile your program somehow, perhaps with a special Windows CE compiler.

    [offtopic] Ouch, why do you have 0 posts? [/offtopic]

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell

    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ:

    My website:
    Projects: codeform, xuni, atlantis, nort, etc.

  3. #3
    Kiss the monkey. CodeMonkey's Avatar
    Join Date
    Sep 2001
    Also, your program might demand DLLs from some libraries. What is this program?
    "If you tell the truth, you don't have to remember anything"
    -Mark Twain

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Way to get the current open programs displayed?
    By CPPguy1111 in forum C++ Programming
    Replies: 6
    Last Post: 06-22-2005, 12:24 AM
  2. Communication between programs?
    By johny145 in forum Windows Programming
    Replies: 3
    Last Post: 06-01-2005, 10:14 PM
  3. Problem using java programs within C code
    By lemania in forum Linux Programming
    Replies: 1
    Last Post: 05-08-2005, 02:02 AM
  4. HELP with mapped drive and C programs
    By Unregistered in forum C Programming
    Replies: 1
    Last Post: 03-04-2002, 07:31 AM
  5. Programs Communicating
    By Drek in forum C++ Programming
    Replies: 1
    Last Post: 01-26-2002, 04:47 PM