Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Error Compiling v11.20
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Error Compiling v11.20

 Post Reply Post Reply
Author
Message
snhd View Drop Down
Newbie
Newbie


Joined: 09 July 2006
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote snhd Quote  Post ReplyReply Direct Link To This Post Topic: Error Compiling v11.20
    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
Back to Top
snhd View Drop Down
Newbie
Newbie


Joined: 09 July 2006
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote snhd Quote  Post ReplyReply Direct Link To This Post Posted: 15 September 2007 at 2:40am
Hi,
I have renamed HMC to XTPHMC in xtprender.* & recompiled.
Is it Ok.
 
Regards
Back to Top
Kenneth View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 May 2004
Location: United States
Status: Offline
Points: 256
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kenneth Quote  Post ReplyReply Direct Link To This Post 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.
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
cdyckes View Drop Down
Newbie
Newbie


Joined: 14 October 2004
Location: United Kingdom
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote cdyckes Quote  Post ReplyReply Direct Link To This Post 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

 

 

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.