I created this program for another guy in my organization. We can both see our organization's SQL server. The program uses an SQL database that he set up. I created an ODBC link to that database (in the System DSN tab) and gave it a name. I also logged in using his username and password.
My Delphi 6 program uses a TDatabase, a few TTables and corresponding TDataSources to access the data. There are no TQueries, TUpdateSQLs, or anything else than what I've mentioned. The finished executable runs fine on my Windows 2000, but crashes on his Windows XP, offering to send the error to Microsoft. The error gives no additional information.
Thinking the problem was XP, I set up the same SQL connection (same name, properties, and login information) on two other developers' machines and it ran without a hitch. They have XP so it was ruled out as being the problem. I made absolutely sure that this guy's SQL connection had the same name, properties, and login information that I did.
I figured it must be something that us Delphi developers have that he doesn't. The only difference I could think of was BDE. Well, he has BDE installed already.
What could our developer computers have that he doesn't? The program doesn't use run-time packages or any third-party or custom components. We also have the same SQL Server dll version.