Libraries Compile error |
Post Reply |
Author | |
jung
Newbie Joined: 29 March 2007 Location: Germany Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 29 March 2007 at 4:33am |
I have juste install Toolkit Pro 10.4.2 and the library cannot be compiled with Visual c++ 6.0. I have the following errors : XTPSkinManagerApiHook.cpp c:\program files\microsoft visual studio\vc98\include\wintrust.h(139) : error C2143: syntax error : missing ';' before '*' c:\program files\microsoft visual studio\vc98\include\wintrust.h(139) : error C2501: 'CMSG_SIGNER_INFO' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\wintrust.h(139) : error C2501: 'psSignerInfo' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\wintrust.h(142) : error C2143: syntax error : missing ';' before '*' c:\program files\microsoft visual studio\vc98\include\wintrust.h(142) : error C2501: 'HCERTSTORE' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\wintrust.h(142) : error C2501: 'pahStores' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\wintrust.h(158) : error C2143: syntax error : missing ';' before '*' c:\program files\microsoft visual studio\vc98\include\wintrust.h(158) : error C2501: 'CERT_CONTEXT' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\wintrust.h(158) : error C2501: 'psCertContext' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\wintrust.h(161) : error C2143: syntax error : missing ';' before '*' c:\program files\microsoft visual studio\vc98\include\wintrust.h(161) : error C2501: 'HCERTSTORE' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\wintrust.h(161) : error C2501: 'pahStores' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\wintrust.h(229) : error C2146: syntax error : missing ';' before identifier 'Data' c:\program files\microsoft visual studio\vc98\include\wintrust.h(229) : error C2501: 'CRYPT_ATTRIBUTE_TYPE_VALUE' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\wintrust.h(229) : error C2501: 'Data' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\wintrust.h(230) : error C2146: syntax error : missing ';' before identifier 'DigestAlgorithm' c:\program files\microsoft visual studio\vc98\include\wintrust.h(230) : error C2501: 'CRYPT_ALGORITHM_IDENTIFIER' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\wintrust.h(230) : error C2501: 'DigestAlgorithm' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\wintrust.h(231) : error C2146: syntax error : missing ';' before identifier 'Digest' c:\program files\microsoft visual studio\vc98\include\wintrust.h(231) : error C2501: 'CRYPT_HASH_BLOB' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\wintrust.h(231) : error C2501: 'Digest' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\wintrust.h(316) : error C2061: syntax error : identifier 'HCERTSTORE' c:\program files\microsoft visual studio\vc98\include\wintrust.h(327) : error C2061: syntax error : identifier 'PCCERT_CONTEXT' c:\program files\microsoft visual studio\vc98\include\wintrust.h(422) : error C2146: syntax error : missing ';' before identifier 'pCert' c:\program files\microsoft visual studio\vc98\include\wintrust.h(422) : error C2501: 'PCCERT_CONTEXT' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\wintrust.h(422) : error C2501: 'pCert' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\wintrust.h(467) : error C2143: syntax error : missing ';' before '*' c:\program files\microsoft visual studio\vc98\include\wintrust.h(467) : error C2501: 'CMSG_SIGNER_INFO' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\wintrust.h(467) : error C2501: 'psSigner' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\wintrust.h(519) : error C2146: syntax error : missing ';' before identifier 'hProv' c:\program files\microsoft visual studio\vc98\include\wintrust.h(519) : error C2501: 'HCRYPTPROV' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\wintrust.h(519) : error C2501: 'hProv' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\wintrust.h(532) : error C2143: syntax error : missing ';' before '*' c:\program files\microsoft visual studio\vc98\include\wintrust.h(532) : error C2501: 'HCERTSTORE' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\wintrust.h(532) : error C2501: 'pahStores' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\wintrust.h(535) : error C2146: syntax error : missing ';' before identifier 'hMsg' c:\program files\microsoft visual studio\vc98\include\wintrust.h(535) : error C2501: 'HCRYPTMSG' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\wintrust.h(535) : error C2501: 'hMsg' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\wintrust.h(644) : error C2143: syntax error : missing ';' before '__stdcall' c:\program files\microsoft visual studio\vc98\include\wintrust.h(646) : error C2061: syntax error : identifier 'PCCERT_CONTEXT' c:\program files\microsoft visual studio\vc98\include\wintrust.h(649) : error C2061: syntax error : identifier 'CERT_INFO' |
|
Barto
Groupie Joined: 27 February 2005 Location: Germany Status: Offline Points: 60 |
Post Options
Thanks(0)
|
Do you have the Platform SDK installed? Latest version for VS6.0 is psdk_2003_feb. I think you need to configure the include and library pathes in VS for the Platform SDK and then you can compile Xtreme Toolkit.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Seems you manually copy imagehlp.cpp from SDK or higher VC to you vc6 includes.
ImageHlp.cpp from Visual Studio 6.0 doesn't include wintrust.h but older version includes it.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
...
Attached original imagehlp.cpp from vc6.0 you can copy it to your "Microsoft Visual Studio\VC98\Include" directory.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
jung
Newbie Joined: 29 March 2007 Location: Germany Status: Offline Points: 2 |
Post Options
Thanks(0)
|
Thanks but now we get the following errors :
"
XTPSkinManagerApiHook.cpp
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\imagehlp.h(951) : error C2061: syntax error : identifier 'LPWIN_CERTIFICATE' C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\imagehlp.h(977) : error C2061: syntax error : identifier 'LPWIN_CERTIFICATE' C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\imagehlp.h(986) : error C2061: syntax error : identifier 'LPWIN_CERTIFICATE' "
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
It have to be declared in WinBase.h...
Add it manually in beginning of imagehlp.cpp.
typedef struct _WIN_CERTIFICATE {
DWORD dwLength; WORD wRevision; WORD wCertificateType; // WIN_CERT_TYPE_xxx BYTE bCertificate[ANYSIZE_ARRAY]; } WIN_CERTIFICATE, *LPWIN_CERTIFICATE; |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |