From: | "Islam Hegazy" <islheg(at)gmail(dot)com> |
---|---|
To: | "Andrei Kovalevski" <andyk(at)commandprompt(dot)com>, <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: C functions under windows |
Date: | 2007-05-03 16:34:27 |
Message-ID: | 01ae01c78da1$1d393d10$0d0e9f88@pc.cpsc.ucalgary.ca |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
I have added the path to the include directory of postgresql but it hasn't
already some of the files that are in linux include path like <strings.h>.
It doesn't object about postgres.h which it can find now but it objects
about strings.h
I use MSVC6 to make my dll file.
Regards
Islam
----- Original Message -----
From: "Andrei Kovalevski" <andyk(at)commandprompt(dot)com>
To: <pgsql-general(at)postgresql(dot)org>; "Islam Hegazy" <islheg(at)gmail(dot)com>
Sent: Thursday, May 03, 2007 7:32 AM
Subject: Re: [GENERAL] C functions under windows
> 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 | Listmail | 2007-05-03 17:05:01 | Re: Have I b0rked something? Slow comparisons on "where x in (...)" |
Previous Message | Hakan Kocaman | 2007-05-03 16:03:57 | Re: Stored procedure |