I have compiled the PostgresQL ODBC driver with MinGW (with exactly the =
same source as the working VC++ 7.1 version) (used makefile attached).
If I try to open with the ODBC applet a PostgreSQL datasource I get an =
error stating that I must reinstall the driver and that one of the =
functions (ConfigDSN, ConfigDriver or ConfigTranslator) cannot be loaded =
from the dll (again, it works with VC ).
Comparing the VC++ dll and the MinGW dll with "Depenedancy Walker" shows =
that the dll's are the same in terms of the ordinals and the function =
names. They differ however something that is called "hints" and the base =
adddress (VC 0x10000000 and MinGW 0x00000000)
What are these "hints", can I influence their values? How can I set the =
base address so that it is the same in the VC++ dll and in the MinGW =
dll(-Wl,--image-base=3D0x10000000 did not work)?.
Can there be another reason that teh DLL cannot be loaded?
tel: 024-3888063 / 06-51855277