Link to home
Start Free TrialLog in
Avatar of huji
hujiFlag for United States of America

asked on

This newbie programmer!

Hi
I'm very new to BCB.
I've created a simple application which generaly opens a form. I've used VCL for that of course!
When compiled, this application works on my machine. I simply double click on the metrics.exe file and the window opens! (Great job?!)
Now, when I move the file to another machine where BCB is not installed, it won't work. I searched in the web and found out that I can list the dll's and bpl's the EXE is dependent to, by using the TDUMP command prompt tool. Using that I've got this result:

IMPORT:        vcl60.bpl
IMPORT:        vcl60.bpl
IMPORT:        vcl60.bpl
IMPORT:        vcl60.bpl
IMPORT:        vcl60.bpl
IMPORT:        vcl60.bpl
IMPORT:        vcl60.bpl
IMPORT:        vcl60.bpl
IMPORT:        vcl60.bpl
IMPORT:        vcl60.bpl
IMPORT:        vcl60.bpl
IMPORT:        vcl60.bpl
IMPORT:        vcl60.bpl
IMPORT:        vcl60.bpl
IMPORT:        rtl60.bpl
IMPORT:        rtl60.bpl
IMPORT:        rtl60.bpl
IMPORT:        rtl60.bpl
IMPORT:        rtl60.bpl
IMPORT:        rtl60.bpl
IMPORT:        rtl60.bpl
IMPORT:        rtl60.bpl
IMPORT:        rtl60.bpl
IMPORT:        rtl60.bpl
IMPORT:        rtl60.bpl
IMPORT:        rtl60.bpl
IMPORT:        rtl60.bpl
IMPORT:        rtl60.bpl
IMPORT:        rtl60.bpl
IMPORT:        rtl60.bpl
IMPORT:     BORLNDMM.DLL
IMPORT:     KERNEL32.DLL
IMPORT:     CC3260MT.DLL

Now, my (silly) question is this: What if I want to develop a program that can be run on the other machines which do not have BCB installed. For the moment, let's assume that all the other machines have a same operating system installed (all Windows XP.)
Please guide me
Huji
ASKER CERTIFIED SOLUTION
Avatar of cwwkie
cwwkie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of huji

ASKER

The second solution is what I needed. I didn't know abou thte "build ith runtime packages" option.
Now the list of dependencies has been limited to what follows, which are all operating system dlls, AFAIK.

IMPORT:     ADVAPI32.DLL
IMPORT:     KERNEL32.DLL
IMPORT:     COMCTL32.DLL
IMPORT:        GDI32.DLL
IMPORT:       USER32.DLL
IMPORT:     OLEAUT32.DLL

Thanks
Huji
Avatar of rjmoerland
rjmoerland

Yes, indeed all are operating system DLLs. Sometimes though having the correct version of a dll also matters, as new functionality is added to parts of Windows. If you only use the SDK provided with Builder, you're probably safe. On the other hand, if you use the newest platform SDK, make sure that APIs you call exist on the target platform. The PSDK always lists the platforms that include the API on the bottom of the page.
Avatar of huji

ASKER

Nice comment.
What does PSDK stand for?
Thanks
huji
Sorry, PSDK = Platform SDK = Platform Software Development Kit. It is the collection of help files that describe among other things the Win32 API.