Re: [GENERAL] C functions under windows

2007-05-03 Thread Magnus Hagander
Islam Hegazy wrote: > 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 > . 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. The i

Re: [GENERAL] C functions under windows

2007-05-03 Thread Islam Hegazy
- Original Message - From: "Andrei Kovalevski" <[EMAIL PROTECTED]> To: ; "Islam Hegazy" <[EMAIL PROTECTED]> 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

Re: [GENERAL] C functions under windows

2007-05-03 Thread Martin Gainty
Andrei- *If you're developing under nix* then I would use windows cygwin (bash shell) e.g. \cygwin\cygwin.bat cd / find . -name strings.h you will see /usr/include but this version of strings.h only includes string.h to bring into environment make sure you include the /usr/include in .profile

Re: [GENERAL] C functions under windows

2007-05-03 Thread Andrei Kovalevski
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 f

Re: [GENERAL] C functions under windows

2007-05-02 Thread Magnus Hagander
Are you building with the same compiler as the backend was built with? If you're using the binary distribution that means mingw unless you're testing the pre-beta snapshot Dave uploaded a few days ago. /Magnus --- Original message --- From: Islam Hegazy <[EMAIL PROTECTED]> Sent: 5-2-'0

[GENERAL] C functions under windows

2007-05-02 Thread Islam Hegazy
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 machi

[GENERAL] C++ functions under Windows

2003-07-01 Thread Yuriy Rusinov
Hello ! I have to develop c++ function for PostgreSQL 7.3.1 under Windows 2000, what compilers and linkers may be used for this purposes ? I have Visual C++ 6.0 and C++Builder 5.0 . May I use them ? Best regards, Sincerely yours, Yuriy Rusinov. ---(end of broadcast)-