PostgreSQL function can not load dll library.

From: <A(dot)Bhattacharya(at)sungard(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: PostgreSQL function can not load dll library.
Date: 2009-10-27 06:19:30
Message-ID: 4AD2336877609F41A2B0D53BAD09FC579D795E@VOO-EXCHANGE07.internal.sungard.corp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi All,

I am creating a dll using MSVC 2005 and trying to call the dll from my
Postgres function but unfortunately PostgreSQL is throwing an error
message saying:

ERROR: could not load library "C:/Program
Files/PostgreSQL/8.3/lib/watchlist.dll": The specified module could not
be found.

SQL state: 58P01

However I have created the dll and exported the required function to
make the dll the callable by PostgeSQL.

I am using PostgreSQL 8.3 and the dll have been created successfully
without any compilation errors.

It would be nice if anyone can help me as I am stuck in this for almost
a week.

Many thanks.

AB

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2009-10-27 06:30:46 Re: PostgreSQL function can not load dll library.
Previous Message Craig Ringer 2009-10-27 05:14:37 Re: Is there any ways to pass an array as parameter in libpq?