Access Violation in dbxora.dll when DEP is turned on...
Posted: Wed 13 Apr 2005 15:36
If you have Windows XPSP2, or Windows 2003 SP1, and have Data Execution Prevention (DEP) turned on for All Programs, you'll get an Access Violation after your app loads dbxora.dll.
I reproduced this on a couple of machines, both Windows2003SP1 and XPSP2. After narrowing it down to the dbxoda.dll, I tried recompiling the dbxoda.dll from the source using the make.bat in C:\Program Files\CoreLab\DbxOda\Source\Delphi7\
After I recompiled it, using Delphi 7 Update 1, the Access Violation no longer occurs. I'm guessing that whatever version of Delphi that compiles the precompiled dbxora.dll has a DEP related issue. What version of Delphi is used to compile it?
NOTE: DEP for All Programs is the Default after installing Windows 2003 SP1, so this is a big issue. On XPSP2, the default DEP setting is just to check Microsoft's files, so it's less of an issue.
I reproduced this on a couple of machines, both Windows2003SP1 and XPSP2. After narrowing it down to the dbxoda.dll, I tried recompiling the dbxoda.dll from the source using the make.bat in C:\Program Files\CoreLab\DbxOda\Source\Delphi7\
After I recompiled it, using Delphi 7 Update 1, the Access Violation no longer occurs. I'm guessing that whatever version of Delphi that compiles the precompiled dbxora.dll has a DEP related issue. What version of Delphi is used to compile it?
NOTE: DEP for All Programs is the Default after installing Windows 2003 SP1, so this is a big issue. On XPSP2, the default DEP setting is just to check Microsoft's files, so it's less of an issue.