How can I compile all necessary files within my executable using Borland 5?

  • Thread starter sweetjones
  • Start date
In summary: Thank you for your reply. After using your advice I found that this is one of the many downfalls when using Borland. I've read that I need to uncheck the "Build with Runtime-Packages" option in Borland. I tried this but it still needed those 2 .DLL files. It didn't ask me for the .BPL file though. I'm just going to stick with Microsoft Studios.
  • #1
sweetjones
44
0
Hello, I made a program that does calculations on fractions. It's finally finished with all of the validations and things. All of the lines of code finally compiles with no errors. I can run the exe on my cpu, but when I give it to others that do not have Borland installed they can't run it. A message pops up saying that "VCL50.BPL" can't be found. So I copied that file and pasted it in the same folder as my exe. Then, I ran it and an error message popped up saying that a certain .DLL file can't be found. So I copied the "VCL50.BPL" file and my exe file out of my borland directory and pasted them in the bin folder from my borland directory where all of the .DLL files are located. My exe can now run on other cpu's because it's inside the same folder as all of these different files. My question is, what do I need to include in my source code so that all of the necessary files can be compiled within my executable so that I don't have to zip up a big folder just to run one file? So far this is the only way my program can run on other computers. Thanks In Advance!
 
Technology news on Phys.org
  • #2
Without being familiar with Borland 5, it sure sounds like you need to set static linkage instead of dynamic. External libraries are now being dynamically loaded when your program runs instead of being included in the program. Search for an option (check in your help file) to link statically, or to turn off dynamic linkage, or words to that effect. Your .exe file will be larger but self-sufficient.
 
  • #3
out of whack said:
Without being familiar with Borland 5, it sure sounds like you need to set static linkage instead of dynamic. External libraries are now being dynamically loaded when your program runs instead of being included in the program. Search for an option (check in your help file) to link statically, or to turn off dynamic linkage, or words to that effect. Your .exe file will be larger but self-sufficient.

Thank you for your reply. After using your advice I found that this is one of the many downfalls when using Borland. I've read that I need to uncheck the "Build with Runtime-Packages" option in Borland. I tried this but it still needed those 2 .DLL files. It didn't ask me for the .BPL file though. I'm just going to stick with Microsoft Studios.
 

1. What is the problem with Borland 5?

The main problem with Borland 5 is that it is an outdated software that is no longer supported by the company. This means that any bugs or issues that arise with the software will not be fixed by the company.

2. Can I still use Borland 5 for my projects?

Technically, you can still use Borland 5 for your projects, but it is not recommended. As it is no longer supported, any bugs or compatibility issues may arise and there will be no way to fix them.

3. Is there a newer version of Borland available?

Yes, there are newer versions of Borland available, such as Borland C++ Builder 6 or Borland Delphi 2006. These versions have updated features and better compatibility with newer operating systems.

4. Can I still get technical support for Borland 5?

No, there is no official technical support available for Borland 5. However, there are online forums and communities where users may be able to provide help and support for any issues you may encounter.

5. Are there any alternatives to Borland 5?

Yes, there are many alternatives to Borland 5, such as Microsoft Visual Studio, Eclipse, or Code::Blocks. These alternatives offer similar features and may have better compatibility with newer operating systems.

Similar threads

  • Programming and Computer Science
Replies
29
Views
2K
  • Programming and Computer Science
Replies
5
Views
1K
  • Programming and Computer Science
Replies
2
Views
274
  • Programming and Computer Science
Replies
1
Views
504
Replies
19
Views
1K
  • Programming and Computer Science
3
Replies
81
Views
5K
  • Programming and Computer Science
Replies
5
Views
760
  • Programming and Computer Science
Replies
12
Views
8K
  • Programming and Computer Science
Replies
1
Views
3K
  • Programming and Computer Science
Replies
3
Views
4K
Back
Top