building stand-alone programs...is there an easy way?

This is a discussion on building stand-alone programs...is there an easy way? within the C++ Programming forums, part of the General Programming Boards category; Hello, I was just wondering, is there a way to create programs from C++ code that don't rely on .dll ...

  1. #1
    Registered User
    Join Date
    Dec 2006
    Posts
    1

    building stand-alone programs...is there an easy way?

    Hello,

    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
    Location
    Canada
    Posts
    8,048
    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]
    dwk

    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: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  3. #3
    Kiss the monkey. CodeMonkey's Avatar
    Join Date
    Sep 2001
    Posts
    920
    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, 01:24 AM
  2. Communication between programs?
    By johny145 in forum Windows Programming
    Replies: 3
    Last Post: 06-01-2005, 11:14 PM
  3. Problem using java programs within C code
    By lemania in forum Linux Programming
    Replies: 1
    Last Post: 05-08-2005, 03: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

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