C++ Builder and required DLLs

I wrote a small program with C++ builder, and tested it on my machine.  Everything worked fine... but when I sent the program to a friend of mine (who doesn't have C++ Builder) he couldn't run the program.  It gave him a "missing required DLL" message.

My question is, can I find out which DLLs are required for each program that I write... if yes... how?
and is there a way to get over this problem without having to install the DLLs on every machine that has to run this program...

Please explain... I'm new to DLL, their use, and requirement...

I just know that I used to write programs in Delphi, and they didn't require needing a DLL to run the programs on other machines... is it just a compiler setting that I missed, or do things function differently in C++ Builder??

Thanks in Advance...
rafyAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Tommy HuiConnect With a Mentor EngineerCommented:
Go to my website and try the shareware DllLook, http://www.slip.net/~thui.
0
 
rafyAuthor Commented:
Just a clarification... Obviously, when I talk about running the programs on other machines... I mean the executable files (exe)..


0
 
rafyAuthor Commented:
Thanks, But I found the answer I really needed in one of the C++ builder reference manuals... Just set the Project|Options
linker tab... Dynamic RTL  OFF.... that will create a (bigger)  stand alone exe.. (which is what I wanted all along.)

And in the case where you need to use RTL (size limitations)
you can tdump myfile.exe > dump.txt and look for all your dependencies there ... then add the used .bpl files to your exe before sending them off.

So thanks again...I guess your answer is good too.. So here's the easiest 100 points ever earned!

(congrats on the move!)
0
 
graham_kCommented:
That doesn't seem to work for me. Users still complain that they get the "required DLL is missing message".
0
All Courses

From novice to tech pro — start learning today.