Thread: Visual C++ 2005 Express: Run Time Library

  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    731

    Visual C++ 2005 Express: Run Time Library

    I figured out the larger than normal file sizes are due to Visual C++ embeding a runtime library inside the exe. (file size is 100kb when it should be about 10kb). And the only options I have is embed it or use it as a seprate dll. Is there even a way to turn this off, cause I don't see why my app needs, it all other compilers don't and the app is Native C++.

  2. #2
    ^ Read Backwards^
    Join Date
    Sep 2005
    Location
    Earth
    Posts
    282
    You are creating the exe that is in the debug and not the release build.
    Maybe...the 2005 version seems all wonky on a lot of things.
    Last edited by Enahs; 11-13-2005 at 05:27 PM.

  3. #3
    Registered User
    Join Date
    Aug 2004
    Posts
    731
    No I am creating the release version, it is even in the release folder. If that is what you mean.

  4. #4
    Registered User
    Join Date
    Nov 2005
    Posts
    9
    Every executable needs a runtime library. It's the library that helps your program run within the operating system. Just because it's purely native C++ doesn't mean a thing - you might be curious to know that main() is not where your program starts exetuting in windows, it's actually WinMainCRT() (IIRC), and that function is part of the runtime library, and it happens to call main()

  5. #5
    Registered User
    Join Date
    Aug 2004
    Posts
    731
    hmm well I was just wondering cause my other compilers must use a more common runtime that is on all windows operating systems than.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Visual C++ 2005 Express Edition: Breakpoints not working
    By Bird Killer in forum C++ Programming
    Replies: 7
    Last Post: 03-31-2006, 10:38 AM
  2. Visual C++ 2005 Express Edition
    By BestGameMovie in forum C++ Programming
    Replies: 6
    Last Post: 05-15-2005, 01:49 PM
  3. Learning OpenGL
    By HQSneaker in forum C++ Programming
    Replies: 7
    Last Post: 08-06-2004, 08:57 AM
  4. odd errors from msvc std library files
    By blight2c in forum C++ Programming
    Replies: 6
    Last Post: 04-30-2002, 12:06 AM
  5. <list>
    By Unregistered in forum C++ Programming
    Replies: 9
    Last Post: 02-24-2002, 04:07 PM