From: Shoaib Naazir <je_shoaib@hotmail.com>
To: pgsql-odbc@postgresql.org
Subject: ODBC on Vista 64
Date: Fri, 31 Aug 2007 15:59:51 +0000
Message-ID: <BAY101-W1854C0149855C7AF8F13C281CE0@phx.gbl> (raw)
Hi,
I have an application that uses ODBC to connect to PostgreSQL. I was planning to port it to my new Vista 64bit machine but was unable to install the PostgreSQL's ODBC driver. I tried to run the ODBC msi posted at the download site, i even tried the ODBC dll's zip present at the download site but to no avail.
Do i need to do something special to run the ODBC on Vista 64 or am i missing something.
Here are the problems i faced using the two above mentioned methods:
1. MSI:
The MSI installed successfully but i couldn't find the entries in the DSN dialog neither where there any entries in the registry [HKLM\Softwares\ODBC\ODBCINST.INI].
2. DLL:
I copied the 'psqlodbc35w.dll' and 'psqlodbc35a.dll' (and all the other Dlls in the zip file) into the \Windows\System32 folder and ran the 'psqlodbc.reg' file. The entries in the DSN dialog and registry did appear but when i try to select the entry in the DSN dialog i get the following error:
"The setup routines for the PostgreSQL ANSI ODBC driver could not be loaded due to system error code 193"
closing this error dialog produces another stating
"Errors found: Could not load the setup or translator library"
As far as i googled on it. Error code: 193 is for corrupt files? What am i doing wrong??
Thanks.
Lid.
Artificial intelligence is no match for natural stupidity!!
_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us=
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: je_shoaib@hotmail.com
Subject: Re: ODBC on Vista 64
In-Reply-To: <BAY101-W1854C0149855C7AF8F13C281CE0@phx.gbl>
References: <BAY101-W1854C0149855C7AF8F13C281CE0@phx.gbl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox