Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 124
  • Last Modified:

run without DLLs (Visual C++)

I want to my program runs independent (without DLLs).
How can I set options to compile it?
thanks
0
ndhai
Asked:
ndhai
  • 2
  • 2
1 Solution
 
jhanceCommented:
What DLLs?  Some DLLs are expected to be present on ANY valid Windows platform and will always be required.

Please specify.  If you mean MFC DLLs, then use the Project Settings>General  and the Use MFC in a Static Library option to statically like the MFC runtime to your application.  But even if you do this, SOME DLLs will still be loaded at run time.
0
 
Vinayak KumbarSr Program ManagerCommented:
Hi,

Go to Project->Settings and specify as "Static linking" instead of Dynamic Linking for the MFC dlls. That should solve ur prob.

Try it out.
VinExpert
0
 
jhanceCommented:
VinExpert,

Do you just go around and copy comments given by others?
0
 
Vinayak KumbarSr Program ManagerCommented:
Hi jhance,

I am sorry. I just wrote it..... I just forgot to read the prev comments. Anyway, thats not the new one to go around and find answer and copy it here.

VinExpert
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now