Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: How can I implement a Win32 C-Language function?


  • From: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
  • To: <maurizio(dot)merli(at)libero(dot)it>
  • Cc: "pgsql-hackers-win32" <pgsql-hackers-win32(at)postgresql(dot)org>
  • Subject: Re: How can I implement a Win32 C-Language function?
  • Date: Fri, 27 Aug 2004 08:26:18 -0400
  • Message-id: <6EE64EF3AB31D5448D0007DD34EEB3412A7486(at)Herge(dot)rcsinc(dot)local>

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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group