Print Page | Close Window

Error Compiling v11.20

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=8012
Printed Date: 10 May 2024 at 6:55am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Error Compiling v11.20
Posted By: snhd
Subject: Error Compiling v11.20
Date Posted: 15 September 2007 at 2:06am
Hi,
I am getting the following error while compiling v11.20 from VC 6.00 Sp5.00
 
XTPToolTipContext.cpp
d:\codejock_v1120\source\common\xtprichrender.h(32) : error C2011: 'HIMC__' : 'struct' type redefinition
 
Regards



Replies:
Posted By: snhd
Date Posted: 15 September 2007 at 2:40am
Hi,
I have renamed HMC to XTPHMC in xtprender.* & recompiled.
Is it Ok.
 
Regards


Posted By: Kenneth
Date Posted: 15 September 2007 at 9:40am

I am getting the same error in VC 6.00 SP5.

I changed HIMC to XTPHIMC in xtprender.*  and now it compiles.
 


Posted By: Oleg
Date Posted: 15 September 2007 at 11:00am
Hi,
 
Strange. this file was absolutely same in 11.3.1 release.
 
Anyway we will change it too.Thanks.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: terrym
Date Posted: 18 September 2007 at 9:49am
I have a more strange problem, Dynamic help is not installing into VS2005 ?? Any ideas please
 
As I assume it is only now bundled in the same installer.


-------------
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey


Posted By: cdyckes
Date Posted: 12 October 2007 at 1:55pm

Had exactly the same problem (but 11.1.3 was last version we implemented) and bug reported it:-

Problem seems to be a clash with code in the Microsoft Platform SDK as in:-

"

Believe clash is with declaration of HIMC in file:

 

Microsoft SDK\include\Imm.h :-

 

#ifndef _IMM_SDK_DEFINED_

#define _IMM_SDK_DEFINED_

 

#if (WINVER >= 0x040A)

DECLARE_HANDLE(HIMC);

DECLARE_HANDLE(HIMCC);

#else

typedef DWORD   HIMC;

typedef DWORD   HIMCC;

#endif /* WINVER >= 0x040A */

 

whereas your declaration is:-

 

//{{AFX_CODEJOCK_PRIVATE

#if (WINVER >= 0x40A)

DECLARE_HANDLE(HIMC);

#else

typedef DWORD   HIMC;

#endif

 

This SDK is absolutely essential for our MAPI connectivity! But this looks an easy one for you to fix by simply adding 

#ifndef _IMM_SDK_DEFINED_ around your definition which is what we did"

 
Obviously changing your definition to XTPHIMC would also fix it. Is this fix planned for a release anytime soon?
 
Colin

 

 




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net