http://bugs.winehq.org/show_bug.cgi?id=58140
--- Comment #7 from Hans Leidekker hans@meelstraat.net --- (In reply to Heiko Rabe from comment #6)
I did uninstall v9.0, installed again v10.0 and unsuccessful tried to start the executable. Still DB connect fails.
I had to modify the export to 64bit otherwise no result or bad key error:
Those settings look good but if your app is 32-bit (and you're not running a new-style wow64 build) then that might be your problem. Try installing 32-bit PostgreSQL ODBC drivers.