PostgreSQL function can not load dll library. - Mailing list pgsql-general

From
Subject PostgreSQL function can not load dll library.
Date
Msg-id 4AD2336877609F41A2B0D53BAD09FC579D795E@VOO-EXCHANGE07.internal.sungard.corp
Whole thread Raw
Responses Re: PostgreSQL function can not load dll library.
List 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

 

 

 

pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Is there any ways to pass an array as parameter in libpq?
Next
From: Craig Ringer
Date:
Subject: Re: PostgreSQL function can not load dll library.