Re: [COMMITTERS] psqlodbc - psqlodbc: Fixed dllname of win32 ANSI: psqlodbca Unicode: - Mailing list pgsql-odbc
From | Dave Page |
---|---|
Subject | Re: [COMMITTERS] psqlodbc - psqlodbc: Fixed dllname of win32 ANSI: psqlodbca Unicode: |
Date | |
Msg-id | E7F85A1B5FF8D44C8A1AF6885BC9A0E40154C8B2@ratbert.vale-housing.co.uk Whole thread Raw |
In response to | Re: [COMMITTERS] psqlodbc - psqlodbc: Fixed dllname of win32 ANSI: psqlodbca Unicode: ("Dave Page" <dpage@vale-housing.co.uk>) |
List | pgsql-odbc |
> -----Original Message----- > From: pgsql-odbc-owner@postgresql.org > [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Dave Page > Sent: 28 August 2006 17:22 > To: Hiroshi Inoue > Cc: Hiroshi Saito; pgsql-odbc@postgresql.org > Subject: Re: [ODBC] [COMMITTERS] psqlodbc - psqlodbc: Fixed > dllname of win32 ANSI: psqlodbca Unicode: > > > MSDTC support sounds like a fine > improvement. Unfortunately it doesn't seem to build for me: cl.exe /nologo /MT /W3 /GX /O2 /I "C:\Program Files\PostgreSQL\8.1\include" /I "C:\OpenSSL\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PSQLODBC_EXPORTS" /D "WIN_MULTITHREAD_SUPPORT" /D "SSL_DLL=\""SSLEAY32.dll"\"" /D "DYNAMIC_LOAD" /D "_HANDLE_ENLIST_IN_DTC_" /D "UNICODE_SUPPORT" /D "ODBCVER=0x0351" /Fp".\Release\psqlodbc.pch" /YX /Fo".\Release\\" /Fd".\Release\\" /FD /c msdtc_enlist.cpp msdtc_enlist.cpp msdtc_enlist.cpp(145) : error C2504: 'ITransactionResourceAsync' : base class undefined msdtc_enlist.cpp(148) : error C2143: syntax error : missing ';' before '*' msdtc_enlist.cpp(148) : error C2501: 'IDtcToXaHelperSinglePipe' : missing storage-class or type specifiers msdtc_enlist.cpp(148) : error C2501: 'helper' : missing storage-class or type specifiers msdtc_enlist.cpp(173) : error C2143: syntax error : missing ';' before '*' msdtc_enlist.cpp(173) : error C2501: 'ITransactionEnlistmentAsync' : missing storage-class or type specifiers msdtc_enlist.cpp(173) : error C2501: 'enlist' : missing storage-class or type specifiers msdtc_enlist.cpp(190) : error C2061: syntax error : identifier 'IDtcToXaHelperSinglePipe' msdtc_enlist.cpp(248) : error C2614: 'IAsyncPG' : illegal member initialization: 'enlist' is not a base or member msdtc_enlist.cpp(248) : error C2614: 'IAsyncPG' : illegal member initialization: 'helper' is not a base or member msdtc_enlist.cpp(292) : error C2065: 'IID_ITransactionResourceAsync' : undeclared identifier msdtc_enlist.cpp(547) : error C2065: 'enlist' : undeclared identifier msdtc_enlist.cpp(547) : error C2227: left of '->PrepareRequestDone' must point to class/struct/union msdtc_enlist.cpp(566) : error C2227: left of '->CommitRequestDone' must point to class/struct/union msdtc_enlist.cpp(585) : error C2227: left of '->AbortRequestDone' must point toclass/struct/union msdtc_enlist.cpp(593) : error C2065: 'helper' : undeclared identifier msdtc_enlist.cpp(593) : error C2227: left of '->ReleaseRMCookie' must point to class/struct/union msdtc_enlist.cpp(594) : error C2227: left of '->Release' must point to class/struct/union msdtc_enlist.cpp(716) : error C2227: left of '->AddRef' must point to class/struct/union msdtc_enlist.cpp(721) : error C2227: left of '->Release' must point to class/struct/union msdtc_enlist.cpp(752) : error C2227: left of '->AddRef' must point to class/struct/union msdtc_enlist.cpp(757) : error C2227: left of '->Release' must point to class/struct/union msdtc_enlist.cpp(935) : error C2143: syntax error : missing ';' before '*' msdtc_enlist.cpp(935) : error C2065: 'pHelper' : undeclared identifier msdtc_enlist.cpp(935) : error C2100: illegal indirection msdtc_enlist.cpp(936) : error C2065: 'ITransactionResourceAsync' : undeclared identifier msdtc_enlist.cpp(936) : error C2065: 'pRes' : undeclared identifier msdtc_enlist.cpp(936) : error C2106: '=' : left operand must be l-value msdtc_enlist.cpp(945) : error C2065: 'IID_IDtcToXaHelperSinglePipe' : undeclared identifier msdtc_enlist.cpp(968) : error C2227: left of '->XARMCreate' must point to class/struct/union msdtc_enlist.cpp(972) : error C2065: 'XACT_E_XA_TX_DISABLED' : undeclared identifier msdtc_enlist.cpp(1008) : error C2227: left of '->ConvertTridToXID' must point to class/struct/union msdtc_enlist.cpp(1024) : error C2227: left of '->EnlistWithRM' must point to class/struct/union msdtc_enlist.cpp(1024) : error C2039: 'enlist' : is not a member of 'IAsyncPG' msdtc_enlist.cpp(144) : see declaration of 'IAsyncPG' msdtc_enlist.cpp(1028) : error C2227: left of '->ReleaseRMCookie' must point to class/struct/union NMAKE : fatal error U1077: 'cl.exe' : return code '0x2' Stop. Do I need an SDK or something for DTC support? This is VC++ 6 btw. Also, I notice that the ANSI builds identify their filename as psqlodbc35w - perhaps that should be hacked in the RC file? Regards, Dave.
pgsql-odbc by date: