How to use by-passing the installation
am 25.09.2010 21:41:07 von Marco Aurelio Zoqui
Hi All,
I'm a Windows MS C++ developer, and currently all my apps set are running i=
n a not installable way. Users just uncompress a zip file to start using th=
e programs.=20
PostgreSQL start/stop commands are also controlled by my application.
I would like to know if there is a way to make PosgreSQL ODBC connection by=
-passing the odbc driver installation?=20
Is it possible to directly use the files psqlodbc30a.dll / psqlodbc35w.dll =
when they are not listed/recognized by odbcad32.exe?
Marco
--=20
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com
--=20
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
Re: How to use by-passing the installation
am 25.09.2010 21:49:08 von Gustavo Pinsard
This is a cryptographically signed message in MIME format.
--------------ms000601070509070009050700
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Marco,
You will need to use libpq. PG manual has plenty of information on that.=
Gustavo
On 25/09/2010 16:41, Marco Aurelio Zoqui wrote:
> Hi All,
> I'm a Windows MS C++ developer, and currently all my apps set are runni=
ng in a not installable way. Users just uncompress a zip file to start us=
ing the programs.
> PostgreSQL start/stop commands are also controlled by my application.
>
> I would like to know if there is a way to make PosgreSQL ODBC connectio=
n by-passing the odbc driver installation?
>
> Is it possible to directly use the files psqlodbc30a.dll / psqlodbc35w.=
dll when they are not listed/recognized by odbcad32.exe?
>
> Marco
>
--------------ms000601070509070009050700
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEH AQAAoIIRWzCC
BN0wggPFoAMCAQICEHGS++YZX6xNEoV0cTSiGKcwDQYJKoZIhvcNAQEFBQAw ezELMAkGA1UE
BhMCR0IxGzAZBgNVBAgMEkdyZWF0ZXI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