> > Hi
> >
> > I'm running postgres v6.5.3. I need to make calls to
> > the functions in libpq in my code. For this I need the
> > files - libpq.lib/libpq.lib.dll/libpqdll.lib.
> 
>     You find prepared .dll's under
> 
>         src/bin/pgaccess/win32/dll
> 
>     Wasn't there some utility to generate .lib files from .dll's?

I think you can just do:

LIB /DEF:libpqdll.def

Haven't tested it, though.

(If you don't have the def file, you can do "dumpbin /exports <file>" to get
a listing of them.)

//Magnus

Thu, 10 Feb 2000 16:32:40 +0100
Magnus Hagander <mha@sollentuna.net>
RE: [HACKERS] how to make libpq on winnt using the 'win32.mak's
> -----Original Message-----
> From: owner-pgsql-hackers@postgreSQL.org
> [mailto:owner-pgsql-hackers@postgreSQL.org]On Behalf Of Magnus Hagander
> 
> > > Hi
> > >
> > > I'm running postgres v6.5.3. I need to make calls to
> > > the functions in libpq in my code. For this I need the
> > > files - libpq.lib/libpq.lib.dll/libpqdll.lib.
> > 
> >     You find prepared .dll's under
> > 
> >         src/bin/pgaccess/win32/dll
> > 
> >     Wasn't there some utility to generate .lib files from .dll's?
>

I've made the dll's(libpq.dll libpgtcl.dll) under pgaccess/win32
by Constantin's request. Could someone make them instead
from now ? I've used them little myself and would lose VC++
environmemt in the near future. 

Regards.

Hiroshi Inoue
Inoue@tpf.co.jp

Fri, 11 Feb 2000 16:35:02 +0900
"Hiroshi Inoue" <Inoue@tpf.co.jp>
RE: [HACKERS] how to make libpq on winnt using the 'win32.mak's
Hiroshi Inoue wrote:
> 
> > -----Original Message-----
> > From: owner-pgsql-hackers@postgreSQL.org
> > [mailto:owner-pgsql-hackers@postgreSQL.org]On Behalf Of Magnus Hagander
> >
> > > > Hi
> > > >
> > > > I'm running postgres v6.5.3. I need to make calls to
> > > > the functions in libpq in my code. For this I need the
> > > > files - libpq.lib/libpq.lib.dll/libpqdll.lib.
> > >
> > >     You find prepared .dll's under
> > >
> > >         src/bin/pgaccess/win32/dll
> > >
> > >     Wasn't there some utility to generate .lib files from .dll's?
> >
> 
> I've made the dll's(libpq.dll libpgtcl.dll) under pgaccess/win32
> by Constantin's request. Could someone make them instead
> from now ? I've used them little myself and would lose VC++
> environmemt in the near future.

Should'nt we use MingW32 instead of VC++ ?

----------
Hannu

Fri, 11 Feb 2000 15:13:32 +0000
Hannu Krosing <hannu@tm.ee>
Re: [HACKERS] how to make libpq on winnt using the 'win32.mak's