Received: from cltexch1.lendingtree.net (cltexch1.lendingtree.net [207.238.49.106]) by hub.org (8.10.1/8.11.0) with ESMTP id e9HDP9W93484 for ; Tue, 17 Oct 2000 09:25:09 -0400 (EDT) (envelope-from jclark@lendingtree.com) Received: by CLTEXCH1 with Internet Mail Service (5.5.2650.21) id <4X4VKCBA>; Tue, 17 Oct 2000 09:24:47 -0400 Message-ID: <69F195289743D411B428009027E293C401290E79@CLTEXCH1> From: "Clark, Joel" To: "'Adam Lang'" , pgsql-interfaces@postgresql.org Subject: RE: Windows application deployment Date: Tue, 17 Oct 2000 09:24:46 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Archive-Number: 200010/152 X-Sequence-Number: 1509 Not sure how difficult it is going to be. I may get into it and decide that ODBC is just fine! :) jc -----Original Message----- From: Adam Lang [mailto:aalang@rutgersinsurance.com] Sent: Tuesday, October 17, 2000 8:49 AM To: pgsql-interfaces@postgresql.org Subject: Re: [INTERFACES] Windows application deployment Thanks... I was wondering about the difficulty of an OLE DB provider for Postgresql... Adam Lang Systems Engineer Rutgers Casualty Insurance Company ----- Original Message ----- From: "Clark, Joel" To: "'Adam Lang'" ; Sent: Monday, October 16, 2000 5:07 PM Subject: RE: [INTERFACES] Windows application deployment > This is kind of off-topic, but I am starting on a native OLEDB provider for > ADO. This would eleminate the ODBC driver issue. No ECD yet... > > To answer your question, you can do a ::CreateProcess() and then > ::WaitForSingleObject() on the HINSTANCE that comes back in > lpProcessInformation->hProcess. The Win32 subsystem will signal the handle > when the process dies, which triggers WaitForSingleObject() to return. If > it is an InstallShield installer, then that won't work because install > shield spawns another process and then kills itself. Hope this helps. > > jc > > > -----Original Message----- > From: Adam Lang [mailto:aalang@rutgersinsurance.com] > Sent: Monday, October 16, 2000 4:57 PM > To: pgsql-interfaces@postgresql.org > Subject: [INTERFACES] Windows application deployment > > > I assume some people have written windows based applications for a front end > to postgresql. I have a VB app that uses ADO to conenct to the odbc driver > of postgresql. > > The question I have is, has anyone done something for the install (either > using package and deployment or windows installer) to automate the > postdrv.exe isntall along with the normal application? I was thinking about > having the setup fire off the postdrv install, and then modify the registry > for the ODBC data source, but was hoping someone else hs already done > something along this lines. > > > Adam Lang > Systems Engineer > Rutgers Casualty Insurance Company