?
Solved

Embed dll in exe.

Posted on 2005-04-19
3
Medium Priority
?
870 Views
Last Modified: 2008-02-01
Hello!
i have build an exe on VC++ and want to run it on a machine which is not havin VC++ installed.

I don't want to ship MSVCRTD.dll to that machine.

Can someone tell how can i embed this dll in my exe.

Please Respond ASAP

Himanshu
0
Comment
Question by:himanshu_mittal1978
  • 2
2 Comments
 
LVL 14

Accepted Solution

by:
wayside earned 200 total points
ID: 13832997
msvcrtd.dll is a debug version of the run-time library.

Is there any particular reason you need to run a debug version?

If not, build a release version; this will link against msvcrt.dll which every Windows machine will already have.

You could also try linking statically, although I don't remember if that will work for the run-time.
0
 
LVL 14

Expert Comment

by:wayside
ID: 15656857
No comment has been added to this question in more than 21 days, so it is now classified as abandoned..
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: wayside

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

wayside
EE Cleanup Volunteer
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question