Re: [COMMITTERS] psqlodbc - psqlodbc: Fixed dllname of win32 ANSI: psqlodbca Unicode:

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Hiroshi Inoue" <inoue(at)tpf(dot)co(dot)jp>
Cc: "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>, <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] psqlodbc - psqlodbc: Fixed dllname of win32 ANSI: psqlodbca Unicode:
Date: 2006-08-29 13:25:57
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E40154C8B2@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-odbc

> -----Original Message-----
> From: pgsql-odbc-owner(at)postgresql(dot)org
> [mailto:pgsql-odbc-owner(at)postgresql(dot)org] On Behalf Of Dave Page
> Sent: 28 August 2006 17:22
> To: Hiroshi Inoue
> Cc: Hiroshi Saito; pgsql-odbc(at)postgresql(dot)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.

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Teodor Sigaev 2006-08-29 13:31:54 pgsql: Fix incorrect length of lexemes in silly_cmp_tsvector()
Previous Message Michael Meskes 2006-08-29 13:23:27 pgsql: Second try committing the path changes.

Browse pgsql-odbc by date

  From Date Subject
Next Message Hiroshi Saito 2006-08-29 16:19:19 Re: [COMMITTERS] psqlodbc - psqlodbc: Fixed dllname of win32 ANSI: psqlodbca Unicode:
Previous Message noreply 2006-08-29 13:17:54 [ psqlodbc-Bugs-1000719 ] string representation for large objects ist wrong