From a82b13f142fa03a9cbb18bee3e0c2a034de295b3 Mon Sep 17 00:00:00 2001 From: Hiroshi Saito Date: Fri, 14 Apr 2006 03:30:01 +0000 Subject: [PATCH] Construction by VS2005Express+PSDK-x86 is supported. --- psqlodbc.dsp | 700 ++++++++++++++--------------- psqlodbc.h | 6 +- psqlodbc.sln | 20 + psqlodbc.vcproj | 1125 +++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 1500 insertions(+), 351 deletions(-) create mode 100644 psqlodbc.sln create mode 100644 psqlodbc.vcproj diff --git a/psqlodbc.dsp b/psqlodbc.dsp index dbfd16a..03665e0 100644 --- a/psqlodbc.dsp +++ b/psqlodbc.dsp @@ -1,350 +1,350 @@ -# Microsoft Developer Studio Project File - Name="psqlodbc35w" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** •ҏW‚µ‚È‚¢‚Å‚­‚¾‚³‚¢ ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=psqlodbc35w - Win32 Release -!MESSAGE ‚±‚ê‚Í—LŒø‚ÈÒ²¸Ì§²Ù‚ł͂ ‚è‚Ü‚¹‚ñB ‚±‚ÌÌßÛ¼Þª¸Ä‚ðËÞÙÄނ·‚邽‚ß‚É‚Í NMAKE ‚ðŽg—p‚µ‚Ä‚­‚¾‚³‚¢B -!MESSAGE [Ò²¸Ì§²Ù‚Ì´¸½Îß°Ä] ºÏÝÄނðŽg—p‚µ‚ÄŽÀs‚µ‚Ä‚­‚¾‚³‚¢ -!MESSAGE -!MESSAGE NMAKE /f "psqlodbc35w.mak". -!MESSAGE -!MESSAGE NMAKE ‚ÌŽÀsŽž‚ɍ\¬‚ðŽw’è‚Å‚«‚Ü‚· -!MESSAGE ºÏÝÄÞ ×²Ýã‚Åϸۂ̐ݒè‚ð’è‹`‚µ‚Ü‚·B—á: -!MESSAGE -!MESSAGE NMAKE /f "psqlodbc35w.mak" CFG="psqlODBC - Win32 Release" -!MESSAGE -!MESSAGE ‘I‘ð‰Â”\‚ÈËÞÙÄÞ Ó°ÄÞ: -!MESSAGE -!MESSAGE "psqlODBC - Win32 Release" ("Win32 (x86) Console Application" —p) -!MESSAGE "psqlODBC - Win32 Debug" ("Win32 (x86) Console Application" —p) -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "psqlODBC - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "USE_LIBPQ" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PSQLODBC_EXPORTS" /D ODBCVER=0x0351 /D "DRIVER_CURSOR_IMPLEMENT" /D "WIN_MULTITHREAD_SUPPORT" /D "MULTIBYTE" /D "UNICODE_SUPPORT" /Fp"psqlodbc.pch" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "F:\postgresql-8.1.3\src\include" /I "F:\postgresql-8.1.3\src\interfaces\libpq" /I "F:\openssl-0.9.7i\inc32" /D "NDEBUG" /D "USE_LIBPQ" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PSQLODBC_EXPORTS" /D ODBCVER=0x0351 /D "DRIVER_CURSOR_IMPLEMENT" /D "WIN_MULTITHREAD_SUPPORT" /D "MULTIBYTE" /D "UNICODE_SUPPORT" /D "USE_SSL" /Fp"psqlodbc.pch" /YX /FD /c -# ADD BASE RSC /l 0x411 /d "NDEBUG" -# ADD RSC /l 0x411 /i "." /i "japanese" /d "NDEBUG" -# SUBTRACT RSC /x -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 wsock32.lib shfolder.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib libpq.lib F:\openssl-0.9.7i\out32\ssleay32.lib F:\openssl-0.9.7i\out32\libeay32.lib /nologo /subsystem:windows /dll /pdb:"psqlodbc35w.pdb" /machine:I386 /out:"psqlodbc35w.dll" /implib:"psqlodbc35w.lib" /libpath:"F:\postgresql-8.1.3\src\interfaces\libpq\Release" -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "psqlODBC - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MD /W3 /Gm /GX /ZI /Od /D "USE_LIBPQ" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PSQLODBC_EXPORTS" /D ODBCVER=0x0351 /D "DRIVER_CURSOR_IMPLEMENT" /D "WIN_MULTITHREAD_SUPPORT" /D "MULTIBYTE" /D "UNICODE_SUPPORT" /YX /FD /GZ /c -# ADD CPP /nologo /MD /W3 /Gm /GX /ZI /I "F:\postgresql-8.1.3\src\include" /I "F:\postgresql-8.1.3\src\interfaces\libpq" /I "F:\openssl-0.9.7i\inc32" /D "_DEBUG" /D "USE_LIBPQ" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PSQLODBC_EXPORTS" /D ODBCVER=0x0351 /D "DRIVER_CURSOR_IMPLEMENT" /D "WIN_MULTITHREAD_SUPPORT" /D "MULTIBYTE" /D "UNICODE_SUPPORT" /D "USE_SSL" /FR /YX /FD /GZ /c -# ADD BASE RSC /l 0x411 /d "_DEBUG" -# ADD RSC /l 0x411 /i "." /i "japanese" /d "_DEBUG" -# SUBTRACT RSC /x -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 -# ADD LINK32 wsock32.lib shfolder.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib libpq.lib F:\openssl-0.9.7i\out32\ssleay32.lib F:\openssl-0.9.7i\out32\libeay32.lib /nologo /subsystem:windows /dll /pdb:"psqlodbc35w.pdb" /debug /machine:I386 /out:"psqlodbc35w.dll" /implib:"psqlodbc35w.lib" /libpath:"F:\postgresql-8.1.3\src\interfaces\libpq\Debug" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "psqlODBC - Win32 Release" -# Name "psqlODBC - Win32 Debug" -# Begin Group "source" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=bind.c -# End Source File -# Begin Source File - -SOURCE=columninfo.c -# End Source File -# Begin Source File - -SOURCE=connection.c -# End Source File -# Begin Source File - -SOURCE=convert.c -# End Source File -# Begin Source File - -SOURCE=.\descriptor.c -# End Source File -# Begin Source File - -SOURCE=dlg_specific.c -# End Source File -# Begin Source File - -SOURCE=dlg_wingui.c -# End Source File -# Begin Source File - -SOURCE=drvconn.c -# End Source File -# Begin Source File - -SOURCE=environ.c -# End Source File -# Begin Source File - -SOURCE=execute.c -# End Source File -# Begin Source File - -SOURCE=info.c -# End Source File -# Begin Source File - -SOURCE=info30.c -# End Source File -# Begin Source File - -SOURCE=.\inouealc.c -# End Source File -# Begin Source File - -SOURCE=.\loadlib.c -# End Source File -# Begin Source File - -SOURCE=lobj.c -# End Source File -# Begin Source File - -SOURCE=misc.c -# End Source File -# Begin Source File - -SOURCE=multibyte.c -# End Source File -# Begin Source File - -SOURCE=.\mylog.c -# End Source File -# Begin Source File - -SOURCE=.\odbcapi.c -# End Source File -# Begin Source File - -SOURCE=.\odbcapi30.c -# End Source File -# Begin Source File - -SOURCE=.\odbcapi30w.c -# End Source File -# Begin Source File - -SOURCE=.\odbcapiw.c -# End Source File -# Begin Source File - -SOURCE=options.c -# End Source File -# Begin Source File - -SOURCE=parse.c -# End Source File -# Begin Source File - -SOURCE=pgapi30.c -# End Source File -# Begin Source File - -SOURCE=pgtypes.c -# End Source File -# Begin Source File - -SOURCE=psqlodbc.c -# End Source File -# Begin Source File - -SOURCE=qresult.c -# End Source File -# Begin Source File - -SOURCE=results.c -# End Source File -# Begin Source File - -SOURCE=setup.c -# End Source File -# Begin Source File - -SOURCE=socket.c -# End Source File -# Begin Source File - -SOURCE=statement.c -# End Source File -# Begin Source File - -SOURCE=tuple.c -# End Source File -# Begin Source File - -SOURCE=win_md5.c -# End Source File -# Begin Source File - -SOURCE=.\win_unicode.c -# End Source File -# End Group -# Begin Group "include" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=bind.h -# End Source File -# Begin Source File - -SOURCE=columninfo.h -# End Source File -# Begin Source File - -SOURCE=connection.h -# End Source File -# Begin Source File - -SOURCE=convert.h -# End Source File -# Begin Source File - -SOURCE=descriptor.h -# End Source File -# Begin Source File - -SOURCE=dlg_specific.h -# End Source File -# Begin Source File - -SOURCE=environ.h -# End Source File -# Begin Source File - -SOURCE=iodbc.h -# End Source File -# Begin Source File - -SOURCE=isql.h -# End Source File -# Begin Source File - -SOURCE=isqlext.h -# End Source File -# Begin Source File - -SOURCE=.\loadlib.h -# End Source File -# Begin Source File - -SOURCE=lobj.h -# End Source File -# Begin Source File - -SOURCE=md5.h -# End Source File -# Begin Source File - -SOURCE=misc.h -# End Source File -# Begin Source File - -SOURCE=multibyte.h -# End Source File -# Begin Source File - -SOURCE=pgapifunc.h -# End Source File -# Begin Source File - -SOURCE=pgtypes.h -# End Source File -# Begin Source File - -SOURCE=psqlodbc.h -# End Source File -# Begin Source File - -SOURCE=qresult.h -# End Source File -# Begin Source File - -SOURCE=socket.h -# End Source File -# Begin Source File - -SOURCE=statement.h -# End Source File -# Begin Source File - -SOURCE=tuple.h -# End Source File -# Begin Source File - -SOURCE=tuplelist.h -# End Source File -# Begin Source File - -SOURCE=win_setup.h -# End Source File -# End Group -# Begin Group "resource" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\psqlodbc.rc -# End Source File -# Begin Source File - -SOURCE=.\psqlodbc.def -# End Source File -# Begin Source File - -SOURCE=resource.h -# End Source File -# End Group -# End Target -# End Project +# Microsoft Developer Studio Project File - Name="psqlodbc35w" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** •ҏW‚µ‚È‚¢‚Å‚­‚¾‚³‚¢ ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=psqlodbc35w - Win32 Release +!MESSAGE ‚±‚ê‚Í—LŒø‚ÈÒ²¸Ì§²Ù‚ł͂ ‚è‚Ü‚¹‚ñB ‚±‚ÌÌßÛ¼Þª¸Ä‚ðËÞÙÄނ·‚邽‚ß‚É‚Í NMAKE ‚ðŽg—p‚µ‚Ä‚­‚¾‚³‚¢B +!MESSAGE [Ò²¸Ì§²Ù‚Ì´¸½Îß°Ä] ºÏÝÄނðŽg—p‚µ‚ÄŽÀs‚µ‚Ä‚­‚¾‚³‚¢ +!MESSAGE +!MESSAGE NMAKE /f "psqlodbc35w.mak". +!MESSAGE +!MESSAGE NMAKE ‚ÌŽÀsŽž‚ɍ\¬‚ðŽw’è‚Å‚«‚Ü‚· +!MESSAGE ºÏÝÄÞ ×²Ýã‚Åϸۂ̐ݒè‚ð’è‹`‚µ‚Ü‚·B—á: +!MESSAGE +!MESSAGE NMAKE /f "psqlodbc35w.mak" CFG="psqlODBC - Win32 Release" +!MESSAGE +!MESSAGE ‘I‘ð‰Â”\‚ÈËÞÙÄÞ Ó°ÄÞ: +!MESSAGE +!MESSAGE "psqlODBC - Win32 Release" ("Win32 (x86) Console Application" —p) +!MESSAGE "psqlODBC - Win32 Debug" ("Win32 (x86) Console Application" —p) +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "psqlODBC - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "USE_LIBPQ" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PSQLODBC_EXPORTS" /D ODBCVER=0x0351 /D "DRIVER_CURSOR_IMPLEMENT" /D "WIN_MULTITHREAD_SUPPORT" /D "MULTIBYTE" /D "UNICODE_SUPPORT" /Fp"psqlodbc.pch" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /I "C:\VSHOME\postgresql-8.1.3\src\include" /I "C:\VSHOME\postgresql-8.1.3\src\interfaces\libpq" /I "C:\VSHOME\openssl-0.9.8a\inc32" /D "NDEBUG" /D "USE_LIBPQ" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PSQLODBC_EXPORTS" /D ODBCVER=0x0351 /D "DRIVER_CURSOR_IMPLEMENT" /D "WIN_MULTITHREAD_SUPPORT" /D "MULTIBYTE" /D "UNICODE_SUPPORT" /D "USE_SSL" /Fp"psqlodbc.pch" /YX /FD /c +# ADD BASE RSC /l 0x411 /d "NDEBUG" +# ADD RSC /l 0x411 /i "." /i "japanese" /d "NDEBUG" +# SUBTRACT RSC /x +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 wsock32.lib shfolder.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib libpq.lib C:\VSHOME\openssl-0.9.8a\out32\ssleay32.lib C:\VSHOME\openssl-0.9.8a\out32\libeay32.lib /nologo /subsystem:windows /dll /pdb:"psqlodbc35w.pdb" /machine:I386 /out:"psqlodbc35w.dll" /implib:"psqlodbc35w.lib" /libpath:"C:\VSHOME\postgresql-8.1.3\src\interfaces\libpq\Release" +# SUBTRACT LINK32 /pdb:none + +!ELSEIF "$(CFG)" == "psqlODBC - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /Gm /GX /ZI /Od /D "USE_LIBPQ" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PSQLODBC_EXPORTS" /D ODBCVER=0x0351 /D "DRIVER_CURSOR_IMPLEMENT" /D "WIN_MULTITHREAD_SUPPORT" /D "MULTIBYTE" /D "UNICODE_SUPPORT" /YX /FD /GZ /c +# ADD CPP /nologo /MD /W3 /Gm /GX /ZI /I "C:\VSHOME\postgresql-8.1.3\src\include" /I "C:\VSHOME\postgresql-8.1.3\src\interfaces\libpq" /I "C:\VSHOME\openssl-0.9.8a\inc32" /D "_DEBUG" /D "USE_LIBPQ" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PSQLODBC_EXPORTS" /D ODBCVER=0x0351 /D "DRIVER_CURSOR_IMPLEMENT" /D "WIN_MULTITHREAD_SUPPORT" /D "MULTIBYTE" /D "UNICODE_SUPPORT" /D "USE_SSL" /FR /YX /FD /GZ /c +# ADD BASE RSC /l 0x411 /d "_DEBUG" +# ADD RSC /l 0x411 /i "." /i "japanese" /d "_DEBUG" +# SUBTRACT RSC /x +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 +# ADD LINK32 wsock32.lib shfolder.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib libpq.lib C:\VSHOME\openssl-0.9.8a\out32\ssleay32.lib C:\VSHOME\openssl-0.9.8a\out32\libeay32.lib /nologo /subsystem:windows /dll /pdb:"psqlodbc35w.pdb" /debug /machine:I386 /out:"psqlodbc35w.dll" /implib:"psqlodbc35w.lib" /libpath:"C:\VSHOME\postgresql-8.1.3\src\interfaces\libpq\Debug" +# SUBTRACT LINK32 /pdb:none + +!ENDIF + +# Begin Target + +# Name "psqlODBC - Win32 Release" +# Name "psqlODBC - Win32 Debug" +# Begin Group "source" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=bind.c +# End Source File +# Begin Source File + +SOURCE=columninfo.c +# End Source File +# Begin Source File + +SOURCE=connection.c +# End Source File +# Begin Source File + +SOURCE=convert.c +# End Source File +# Begin Source File + +SOURCE=.\descriptor.c +# End Source File +# Begin Source File + +SOURCE=dlg_specific.c +# End Source File +# Begin Source File + +SOURCE=dlg_wingui.c +# End Source File +# Begin Source File + +SOURCE=drvconn.c +# End Source File +# Begin Source File + +SOURCE=environ.c +# End Source File +# Begin Source File + +SOURCE=execute.c +# End Source File +# Begin Source File + +SOURCE=info.c +# End Source File +# Begin Source File + +SOURCE=info30.c +# End Source File +# Begin Source File + +SOURCE=.\inouealc.c +# End Source File +# Begin Source File + +SOURCE=.\loadlib.c +# End Source File +# Begin Source File + +SOURCE=lobj.c +# End Source File +# Begin Source File + +SOURCE=misc.c +# End Source File +# Begin Source File + +SOURCE=multibyte.c +# End Source File +# Begin Source File + +SOURCE=.\mylog.c +# End Source File +# Begin Source File + +SOURCE=.\odbcapi.c +# End Source File +# Begin Source File + +SOURCE=.\odbcapi30.c +# End Source File +# Begin Source File + +SOURCE=.\odbcapi30w.c +# End Source File +# Begin Source File + +SOURCE=.\odbcapiw.c +# End Source File +# Begin Source File + +SOURCE=options.c +# End Source File +# Begin Source File + +SOURCE=parse.c +# End Source File +# Begin Source File + +SOURCE=pgapi30.c +# End Source File +# Begin Source File + +SOURCE=pgtypes.c +# End Source File +# Begin Source File + +SOURCE=psqlodbc.c +# End Source File +# Begin Source File + +SOURCE=qresult.c +# End Source File +# Begin Source File + +SOURCE=results.c +# End Source File +# Begin Source File + +SOURCE=setup.c +# End Source File +# Begin Source File + +SOURCE=socket.c +# End Source File +# Begin Source File + +SOURCE=statement.c +# End Source File +# Begin Source File + +SOURCE=tuple.c +# End Source File +# Begin Source File + +SOURCE=win_md5.c +# End Source File +# Begin Source File + +SOURCE=.\win_unicode.c +# End Source File +# End Group +# Begin Group "include" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=bind.h +# End Source File +# Begin Source File + +SOURCE=columninfo.h +# End Source File +# Begin Source File + +SOURCE=connection.h +# End Source File +# Begin Source File + +SOURCE=convert.h +# End Source File +# Begin Source File + +SOURCE=descriptor.h +# End Source File +# Begin Source File + +SOURCE=dlg_specific.h +# End Source File +# Begin Source File + +SOURCE=environ.h +# End Source File +# Begin Source File + +SOURCE=iodbc.h +# End Source File +# Begin Source File + +SOURCE=isql.h +# End Source File +# Begin Source File + +SOURCE=isqlext.h +# End Source File +# Begin Source File + +SOURCE=.\loadlib.h +# End Source File +# Begin Source File + +SOURCE=lobj.h +# End Source File +# Begin Source File + +SOURCE=md5.h +# End Source File +# Begin Source File + +SOURCE=misc.h +# End Source File +# Begin Source File + +SOURCE=multibyte.h +# End Source File +# Begin Source File + +SOURCE=pgapifunc.h +# End Source File +# Begin Source File + +SOURCE=pgtypes.h +# End Source File +# Begin Source File + +SOURCE=psqlodbc.h +# End Source File +# Begin Source File + +SOURCE=qresult.h +# End Source File +# Begin Source File + +SOURCE=socket.h +# End Source File +# Begin Source File + +SOURCE=statement.h +# End Source File +# Begin Source File + +SOURCE=tuple.h +# End Source File +# Begin Source File + +SOURCE=tuplelist.h +# End Source File +# Begin Source File + +SOURCE=win_setup.h +# End Source File +# End Group +# Begin Group "resource" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\psqlodbc.rc +# End Source File +# Begin Source File + +SOURCE=.\psqlodbc.def +# End Source File +# Begin Source File + +SOURCE=resource.h +# End Source File +# End Group +# End Target +# End Project diff --git a/psqlodbc.h b/psqlodbc.h index ad241f4..202ad2c 100644 --- a/psqlodbc.h +++ b/psqlodbc.h @@ -5,7 +5,7 @@ * * Comments: See "notice.txt" for copyright and license information. * - * $Id: psqlodbc.h,v 1.98 2006/04/12 12:09:24 petere Exp $ + * $Id: psqlodbc.h,v 1.99 2006/04/14 03:30:01 h-saito Exp $ * */ @@ -106,6 +106,10 @@ typedef double SDOUBLE; #endif /* FALSE */ #else #define snprintf _snprintf +#define strdup _strdup +#define strnicmp _strnicmp +#define stricmp _stricmp +#define strdup _strdup #endif #ifndef SQL_ATTR_APP_ROW_DESC diff --git a/psqlodbc.sln b/psqlodbc.sln new file mode 100644 index 0000000..2cd7fe4 --- /dev/null +++ b/psqlodbc.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual C++ Express 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "psqlODBC", "psqlodbc.vcproj", "{030F0B3C-E4D3-4EE4-B3F5-B6408B198899}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {030F0B3C-E4D3-4EE4-B3F5-B6408B198899}.Debug|Win32.ActiveCfg = Debug|Win32 + {030F0B3C-E4D3-4EE4-B3F5-B6408B198899}.Debug|Win32.Build.0 = Debug|Win32 + {030F0B3C-E4D3-4EE4-B3F5-B6408B198899}.Release|Win32.ActiveCfg = Release|Win32 + {030F0B3C-E4D3-4EE4-B3F5-B6408B198899}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/psqlodbc.vcproj b/psqlodbc.vcproj new file mode 100644 index 0000000..6178c66 --- /dev/null +++ b/psqlodbc.vcproj @@ -0,0 +1,1125 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 2.39.5