Print Page | Close Window

Issue in VARIANT_BOOL EOS

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=6652
Printed Date: 12 November 2025 at 11:34am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Issue in VARIANT_BOOL EOS
Posted By: saket
Subject: Issue in VARIANT_BOOL EOS
Date Posted: 15 March 2007 at 8:14am
Hello,
 
I am tring to integrate my application with CodeJock 10.4.2 lib.
 
I was using CodeJock 4.0 in our application, it was wroking fine.
 
But after integration with CodeJock10.4.2, when i recomplied whole application it giving error in ":\program files\codejock software\mfc\xtreme toolkitpro v10.4.2 for visual studio 6.0\source\calendar\xtpcalendarado.h" 
for VARIANT_BOOL EOS;
 
The details of error from Visual Studio 6.0 are below:
 
Compiling...
STDAFX.CPP
c:\program files\codejock software\mfc\xtreme toolkitpro v10.4.2 for visual studio 6.0\source\calendar\xtpcalendarado.h(4056) : error C2059: syntax error : 'constant'
c:\program files\codejock software\mfc\xtreme toolkitpro v10.4.2 for visual studio 6.0\source\calendar\xtpcalendarado.h(4056) : error C2238: unexpected token(s) preceding ';'
c:\program files\codejock software\mfc\xtreme toolkitpro v10.4.2 for visual studio 6.0\source\calendar\xtpcalendartheme.h(1048) : fatal error C1903: unable to recover from previous error(s); stopping compilation
Error executing cl.exe.
Creating browse info file...
BSCMAKE: error BK1506 : cannot open file '.\Debug\STDAFX.SBR': No such file or directory
Error executing bscmake.exe.
PIM32.exe - 4 error(s), 0 warning(s)
 
 
We were using #defind EOS '\0' in our application, We changed #defind EOS '\0' to #defind PIM_EOS '\0' in our application, but the error above mentioned are resolved.
 
Pls Let me know the reason and how We can resolved this issue.
 
Thanks,
Saket Kumar.
 
 



Replies:
Posted By: Oleg
Date Posted: 16 March 2007 at 12:21am
Hi,
 
yes, in his line we have:
 
 VARIANT_BOOL EOS;
 
so just define your EOS after you include toolkit.


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


Posted By: saket
Date Posted: 16 March 2007 at 7:37am
Hi Oleg Chernyahovskii,
 
Our application is very huge.
 
In our application EOF is defind in various DLLs and Exe files.
 
Do we need to change EOS to xyz_EOS,  in DLLs and Exe files or do we have any other options.
 
I wanted to know the namespace name for codejock.


Posted By: saket
Date Posted: 16 March 2007 at 7:53am
Hi ,
 
can any one let me know the "namespace" for Codejock 10.4..2
 
Thanks,
Saket Kumar.
 


Posted By: Oleg
Date Posted: 19 March 2007 at 1:56am
Hi,
 
as easy solution you can replace EOS to something else in xtpcalendarado.h file...


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



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