Re: How can I implement a Win32 C-Language function? - Mailing list pgsql-hackers-win32

From Merlin Moncure
Subject Re: How can I implement a Win32 C-Language function?
Date
Msg-id 6EE64EF3AB31D5448D0007DD34EEB3412A7486@Herge.rcsinc.local
Whole thread Raw
In response to How can I implement a Win32 C-Language function?  ("maurizio.merli@libero.it" <maurizio.merli@libero.it>)
List pgsql-hackers-win32
Maurizio wrote:
> How can I implement a Win32 C-Language function?

Yes!  MinGW includes the win32 API.  Just include windows.h from your
source file...also make sure you are familiar with the peculiarities of
the C calling convention for postgresql.

The easiest way to get started is to browse through the contrib folder
and find an already written C function.  Just copy it, add windows.h,
and put in your own code.

Merlin

pgsql-hackers-win32 by date:

Previous
From: "Dave Page"
Date:
Subject: Re: 8.0 beta1 and XP SP2
Next
From: Tim Penhey
Date:
Subject: Re: pg_dump and pg_restore in batch scripts