Re: [HACKERS] ODBC problem/question

Поиск
Список
Период
Сортировка
Искать

Re: [HACKERS] ODBC problem/question

От:
"Dave Page" <dpage@vale-housing.co.uk>
Дата:
[Please keep the thread on-list]

> -----Original Message-----
> From: Sebastian Hetze [mailto:s.hetze@linux-ag.de] 
> Sent: 12 September 2002 10:13
> To: Dave Page
> Cc: michael.meskes@credativ.de
> Subject: Re: [HACKERS] ODBC problem/question
> 
> 
> Hi Dave,

Hi Sebastian,

> I am about to start working on the implementation / 
> completion of the SQLProcedureColums call. I took both the 
> old psqlodbcplus sources from Kevin Kemp and the current 
> psqlodbc from CVS. Kevins sources compiled with M$ Visual C++ 
> 6.0, the psqlodbc did not - complaining about a missing postgres.h

Hmm, yes I'm seeing that in the IDE as well. It's probably because we
recently moved the driver from the main PostgreSQL CVS to it's own. I
need to check the instructions for compiling in the IDE - unfortunately
I don't have time right now.

It does work from the command line though:

nmake /f win32.mak CFG=MultibyteRelease (for the Standard driver -
PostgreSQL)
nmake /f win32_30.mak CFG=MultibyteODBC30 (for the ODBC3 driver -
PostgreSQL+)
nmake /f win32_30w.mak CFG=Unicode30 (for the ODBC3 Unicode driver -
PostgreSQL+ Beta)

> The DLL I got from compiling Kevins sources did not work
> when I replaced the original one from the binary distribution 
> package, obvoiusly missing some resources.
> 
> So, obviously, I am a little clueless about this Windows 
> development stuff. Can you please help me to get things 
> going. Which branch of the psqlodbc is the one to start with? 
> Can you give me a short briefing on how to build a 
> installable package for Windows?

Checkout CVS tip from
:pserver:anonymous@gborg.postgresql.org:/usr/local/cvsroot/psqlodbc
(password: anonymous)

Hack away, then use vc++'s nmake as described above to build. Check the
top of the makefiles for other build options (debug).

Patches in diff -c format please :-)

Regards, Dave.
FAQ