Results 1 to 3 of 3

Thread: Dependant on msvcrt.dll?

  1. #1

    Thread Starter
    Lively Member FantastichenEin's Avatar
    Join Date
    Mar 2000
    Location
    dairy
    Posts
    106

    Dependant on msvcrt.dll?

    I have written a program in VC++. How do I determine if msvcrt.dll is a dependency.
    I need to be sure that it is going to run on any win32 machine, but I don't want to bundle the dll if i don't need to.

    Thanks
    ****

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    I think msvcrt is preinstalled with windows, but I'm not sure. Among the tools of VC++ is a dependency walker. I don't know how to use it though...
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Easy way to check - look at the project settings.

    Under C++, there should be an option deciding whether to compile for Single Threaded or Multi Threaded (basically, if you choose multithreaded you MUST use the DLL, and the options tell you).

    By default it doesn't require msvcrt.dll, but you can set it to use this and drop the final .exe size right down.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width