Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delphi 2009 and Informix dbExpress with Windows 2003

I have simple application that uses dbExpress to connect Informix database. If I compile it with TurboDelphi it works on both WinXP and Win2003.

When I use new Deplhi 2009 my app works ok on WinXP but do not start on Win2003. No MessageBox with error, only info in EventLog:

Faulting application inf_dbexpress_test.exe, version 0.0.0.0, faulting module kernel32.dll, version 5.2.3790.4062, fault address 0x0000bee7.

I think this is problem with dbExpress driver while my other app compiled with Delhi 2009 that uses ODBC to connect Informix works on Win2003.

Anybody can test if Informix dbExpress drivers from Delphi 2009 works with Windows 2003?


Thanks for your help, but it do not work.

As for $INFORMIXDIR: I reinstalled ClientSDK 3.5 and my $INFORMIXDIR is now:

c:\informix

(was c:\Program Files ...).

I can connect to DB from my app that uses ODBC. But dbExpress app can not start, even in WinXP compatibility mode.


I have reported it in Delphi Quality Central as bug #67823:

like image 383
Michał Niklas Avatar asked Sep 26 '08 08:09

Michał Niklas


2 Answers

Which turbo version do you have (the .net version or the Win32 version)? Do you have .net framework installed on 2003?

like image 79
Victor Avatar answered Oct 08 '22 17:10

Victor


Hm maybe a strange suggestion, but one of the big differences introduces in Delphi 2009 is Unicode. All strings are now Unicode strings. Could that possibly be an explanation for the problem?

like image 41
Toon Krijthe Avatar answered Oct 08 '22 17:10

Toon Krijthe