> > 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