Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

64bit Program Cannot Start(0xc00007b Error)

Status
Not open for further replies.

alanccc

Technical User
Oct 1, 2009
1
JP
Hi,

I am using Delphi XE3 to build a 64bit Program under 32bit system. However, whenever I run the 64bit program in a 64bit virtual machine, I will always get an error message “The application was unable to start correctly (0xc000007b).”. I try to use Remote Debugger to debug the program. However, even when I starting the debug by clicking F8, I will still get the error message. So I cannot even access the first source line of the program before the error occurs. In such a case, how to debug such a program and find out the actual reason that cause the error?

Thanks
 
Mostly the issue is that your program is trying to load a DLL that is not there under the 64 bit OS.
Use dependency walker to find out which DLL dependency is missing.
Procmon could be also be useful in these cases.

-----------------------------------------------------
Helping people is my job...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top