From: | Andrei Kovalevski <andyk(at)commandprompt(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org, Islam Hegazy <islheg(at)gmail(dot)com> |
Subject: | Re: C functions under windows |
Date: | 2007-05-03 13:32:23 |
Message-ID: | 4639E467.10307@commandprompt.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Islam Hegazy wrote:
> Hi all
>
> I have postgresql server installed on a windows machine and I want to
> retrieve data using C functions. I followed the steps in the
> documentation but it didn't work for windows. I created a .dll
> projects for my functions but postgres.h calls .h files that I can't
> find on the windows machine like <strings.h>. I tested my functions
> on another server installed on a linix machine and it worked
> correctly. So the problem appears to be in the include files under
> windows.
>
> Any idea how to solve this problem...
>
> Regards
> Islam Hegazy
If you use MSVC - try to setup 'Additional include directories' for your
project. It should point to the PostgreSQL 'include' folder.
From | Date | Subject | |
---|---|---|---|
Next Message | Dan Weber | 2007-05-03 13:39:40 | Re: forcing use of a specific (expression) index? |
Previous Message | Paul Tilles | 2007-05-03 12:44:17 | psql access of user's environmental variables |