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

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: 2004-08-27 12:26:18
Message-ID: 6EE64EF3AB31D5448D0007DD34EEB3412A7486@Herge.rcsinc.local (view raw or flat)
Thread:
Lists: 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

Next:From: Tim PenheyDate: 2004-08-28 10:34:28
Subject: Re: pg_dump and pg_restore in batch scripts
Previous:From: Dave PageDate: 2004-08-27 11:39:33
Subject: Re: 8.0 beta1 and XP SP2

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group