Hi guys,
Please help...
I have program which I developed using Vis studio in C++. How can I find out what DLLs my program requires???
Cheers :-)
Hi guys,
Please help...
I have program which I developed using Vis studio in C++. How can I find out what DLLs my program requires???
Cheers :-)
that makes no sense, how have you developed the program without it's required libraries? You could not have ran it at all.
What sort of a program is it you have written? is it just a console application? ie opens in a 'DOS ' style window?
Do you mean the default libraries just to support a basic project? If you start a console application for example your IDE should just link them into your build options for you.
You will soon know if you try and run it and it says 'error cannot find suchandsucha DLL
Thought for the day:FLTK: "The most fun you can have with your clothes on.""Are you sure your sanity chip is fully screwed in sir?" (Kryten)
Stroustrup:
"If I had thought of it and had some marketing sense every computer and just about any gadget would have had a little 'C++ Inside' sticker on it'"
Check out Dependency Walker; It's awesome.
It is better to fail with honor than win by deceit
- unknown
My erratic tinkerings:
http://projects.whyaskwhy.org/
Microsoft provide a program - free - called listDLLs which lists the DLLs in use by a running process. It means you need to run your program, and it will presumably list standard windows components as well as DLLs you need to distribute.
Bear in mind that, if your code dynamically loads libraries, it can fool such programs.
If your program needs Visual C++ runtime, it might be better to look at project/linker options to ensure the runtime is statically linked (so the DLLs are not needed to run it). It depends on how complex you want installation to other computers to be.
Last edited by grumpy; 01-26-2012 at 02:47 PM.
cheers grumpy and others for suggestions
1. Run your program
2. Open Command Prompt and type "tasklist /m"
3. Look for your program in the list.