I'm trying to trace the cause of a problem in an application I'm building using Delphi 2010 and InterBase 2009.
If I include an IBDatabase component on a form, the app will run on my development PC. However, if I try to run the executable on the 32-bit Windows XP Pro target machine, it crashes with the "Project1.exe has encountered a problem and needs to close. We are sorry for the inconvenience" message.
In attempting to diagnose the problem, I created an app containing an empty form, and another app with a form with a few, non-database components on it. They both run on the target machine without a problem.
Then I dropped a component of type TIBDatabase on the empty form, leaving its properties as the defaults. The app runs in the IDE, and runs as a stand-alone executable on my development PC. However, if I try to run it on the target PC, I get the usual crash.
I have just re-installed InterBase 2009 Server edition, with one user, on the target PC, and have verified that I can access the database on it using IBConsole. I suspect that the problem may be related to the setup/configuration of InterBase on the target PC, but I'm at a loss as to what to look for next.
It would appear that the mere presence of an InterBase component on a form will cause the app to crash on the target machine.
The real sickener is that I have had the database application running on this target PC, but an unrelated problem meant that the machine was wiped and the OS reinstalled recently, since when I've been having this problem.