C++ Exe

This is a discussion on C++ Exe within the C++ Programming forums, part of the General Programming Boards category; When you create a program in C++, And you've got these #include <iostream.h> etc.. And when you compile it, and ...

  1. #1
    x4000 Ruski's Avatar
    Join Date
    Jun 2002
    Location
    Outer Space!
    Posts
    542

    Unhappy C++ Exe

    When you create a program in C++, And you've got these #include <iostream.h> etc.. And when you compile it, and give it to someone who does not have any of those include files what will happen? And does C++ need a .dll file so it runs on other computers? Cause VisualBasic did, msvb60.dll or something like that. So what's the .dll file of C++ (if there is...)
    Thanks
    what does signature stand for?

  2. #2
    Gyudo
    Guest
    The #include statement can sort of be thought as just a command to compiler to take the file in the " " and past it's contents into the exact place where it is included. By doing this, the file is then part of your program and therefore anyone who tries to user your program will not need the included file.

    Under beginner circumstances, i.e. doing dos and console stuff, no dll's should be required that aren't already on every system with a version of windows past 3.1.

  3. #3
    x4000 Ruski's Avatar
    Join Date
    Jun 2002
    Location
    Outer Space!
    Posts
    542

    Smile Thanks

    Ok, I got it! Thanks
    what does signature stand for?

  4. #4
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,786
    If you are creating simple apps, then the dlls your program needs will most likely be supplied with Windows.....

    If you are using a graphics library (like DirectX or OpenGL) or you created you app with some kind of wrapper (MFC,ATL,OWL) then you might have to make sure the dlls are on the host PC

  5. #5
    x4000 Ruski's Avatar
    Join Date
    Jun 2002
    Location
    Outer Space!
    Posts
    542
    Ok, i got it... Thanks
    what does signature stand for?

  6. #6
    Registered User subdene's Avatar
    Join Date
    Jan 2002
    Posts
    359
    I have been tranferring a lot of my work to other computers, and executable file would not work (console) without this dll file from the borland directory (cc3250.dll). I can't understand why it needed this, though executable was tried on 95, 98, xp os's.

  7. #7
    x4000 Ruski's Avatar
    Join Date
    Jun 2002
    Location
    Outer Space!
    Posts
    542
    Actually i'm not using Borland.. More like Dev-C++
    Thanks
    what does signature stand for?

  8. #8
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    hmm, mebbe your code's messed subdene. It's probably because you're using something nonstandard or something - I don't think you're supposed to need a special dll on the computer...
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  9. #9
    x4000 Ruski's Avatar
    Join Date
    Jun 2002
    Location
    Outer Space!
    Posts
    542
    Ok, dont worry about me I'll be fine.
    Thanks
    what does signature stand for?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how to monitor exe and dll interactions?
    By George2 in forum C Programming
    Replies: 1
    Last Post: 10-26-2007, 04:22 AM
  2. how to run an exe command in c++ and get back the results?
    By mitilkhatoon in forum C++ Programming
    Replies: 5
    Last Post: 09-21-2006, 06:00 PM
  3. Close another exe from another exe??
    By Tony in forum Windows Programming
    Replies: 1
    Last Post: 06-12-2002, 07:19 AM
  4. insert another exe into exe
    By lliero in forum C Programming
    Replies: 8
    Last Post: 04-12-2002, 12:22 PM
  5. adding bytes to EXE to call another EXE
    By lliero in forum C Programming
    Replies: 2
    Last Post: 03-30-2002, 06:23 AM

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