Compiling C function with VC++ for Windows version

From: Edwin Quijada <listas_quijada(at)hotmail(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Compiling C function with VC++ for Windows version
Date: 2012-01-12 03:06:00
Message-ID: BAY155-W22D4C9390F41B9BB5CAE85E39F0@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Hi!I am trying to create a C function for windows in Postgres compiling with VC++ 2008 Express Edition. I did this function for Linux without problem using gcc and tried to do the same in Windows but in Windows was imposible. The function compile fine but when I tried to run from Postgres it down the server in windows but in Linux the same function run perfect.
The function just try to get a string value and pass to postgres. Reading somebody told me that I need to compile the function using VC++ not gcc in Windows so I downloaded VC++ 2008 Express but I dont know what directives compilation I need as gcc in windows and Linux.
Somebody here has compiled any function for working in Windows for Postgres using VC++?
Any help will be so appreciated.
*-------------------------------------------------------*
*-Edwin Quijada
*-Developer DataBase
*-JQ Microsistemas

*-Soporte PostgreSQL

*-www.jqmicrosistemas.com
*-809-849-8087
*-------------------------------------------------------*

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andy Colson 2012-01-12 03:20:04 Re: How to return latest results without a polygon intersect?
Previous Message David Waddy 2012-01-12 01:14:11 How to return latest results without a polygon intersect?