C++ Builder not running the application after "Run"

2.6k Views Asked by At

I have a strange problem with C++ Builder XE6. Actually, I noticed this problem even from XE3 version. After clicking "Run" my application compiles, but then hour glass appears, waits for some time and nothing. My application does not run. If I press "Run" again I get information like "Project1.exe has crashed"...

The only solution for me is to use project/clean and then "Run" again. Then is works. But yet, it's a waste of time. Does anyone knows what is this about and how to fix it?

3

There are 3 best solutions below

0
On

The 32 bit IDE can only address 2G memory,which gets used up very quickly and no matter how much memory you have installed to no avail.

This is for all C++ Builder compilers.

The only solution is to use Jomitech Twine Compiler, which will compile even larger projects flawlessly.

0
On

I had a similar issue but with a simpler(silly) solution. If you are manually installing your service or making an installer make sure that the service name in your DFM matches the service name that you are writing to the Windows registry.

0
On

Try this:

Project -> Options -> C++ Compiler -> Advanced

There you will find the option <Minimum contiguous memory allocation block size (MB)>.

Probably it's empty. Make it 128. Restart the IDE and try again.