Hello everyone!
I would appreciate some help with this problem i'm facing

I have designed a application using Borland C++ Builder 6.
The problem I'm dealing with is that the application GUI runs as
designed only on my computer.
If i try to run it on another computer applications components
appear in places other than designed making the program non functional.

If anyone can come up with a solution I will be glad to hear it.
Thanks

The problem is more than likely dlls. Check your compiler's installation directory to see if it has the DLLs that you need to install on other computers. Also make sure you compile your program for release mode and not debug.

The problem is more than likely dlls. Check your compiler's installation directory to see if it has the DLLs that you need to install on other computers. Also make sure you compile your program for release mode and not debug.

Unfortunately this doesn't seem to solve the problem.
Any other ideas will be regarded.

If i try to run it on another computer applications components
appear in places other than designed making the program non functional.

so you said that release mode didn't slove your problem ????
or don't you tryied yet ? Try and change compiler and linker command line switches and parameaters to force static linking.

2. Try to find out the dll files and put in to your project directory.
( little bit bad idea , but this works fine for the __declspec( dllimport) thing on Microsoft compilers).

Still didn't working ? then please post the error information as much as you can .

I use Borland C++ Builder 6

In compiler options under "Packages" tab
I have selected "Build with runtime packages" which I assume packages all needed dll's within the executable.
Although how can I check the dll depedencies of my executable
so as to include them manually ?

Compiling the program under debug mode I get no errors or warnings.
Compiling the program under release mode I get no errors but
15 warnings all of the same type:
"W8027 Functions containing for are not expanded inline"

Running the program does not produce any error messages
but I get a corrupted GUI.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.