Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Syntax Edit
  New Posts New Posts RSS Feed - Version 10.4.0
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Version 10.4.0

 Post Reply Post Reply
Author
Message
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Topic: Version 10.4.0
    Posted: 20 December 2006 at 8:20pm
Hi All,
You can download version 10.4 from the evaluation section.  The retail version will become available by then end of tomorrow.  Note the website is still gettig updated.

Also for MFC customers check out the new Syntax Editor control.
Thanks
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 21 December 2006 at 3:01am
A URL and link to release notes would save your customers a lot of time  !

The elusive release notes are here:

http://www.codejock.com/products/releasenotes/release_notes.asp

The syntax editor is - stunning!

http://www.codejock.com/downloads/samples/syntaxedit.asp
Simon HB9DRV
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Posted: 21 December 2006 at 2:14pm
Is the Syntax Editor control also part of the ActiveX suite ?
Back to Top
reeves View Drop Down
Newbie
Newbie


Joined: 12 September 2006
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote reeves Quote  Post ReplyReply Direct Link To This Post Posted: 22 December 2006 at 12:35am

CXTPSyntaxEditCtrl can not compiled.

 
C:\Program Files\Codejock Software\MFC\Xtreme ToolkitPro v10.4\Source\SyntaxEdit\XTPSyntaxEditCtrl.cpp(2076) : error C2001: newline in constant
C:\Program Files\Codejock Software\MFC\Xtreme ToolkitPro v10.4\Source\SyntaxEdit\XTPSyntaxEditCtrl.cpp(2089) : error C2001: newline in constant
C:\Program Files\Codejock Software\MFC\Xtreme ToolkitPro v10.4\Source\SyntaxEdit\XTPSyntaxEditCtrl.cpp(2076) : fatal error C1057: unexpected end of file in macro expansion
 
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: 22 December 2006 at 1:01am
Hi,
 
It can't compile _T('»') ? What locale you have?
 
 
can you try to replace it to
 
strBuffer += (TCHAR)0xAF;
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
reeves View Drop Down
Newbie
Newbie


Joined: 12 September 2006
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote reeves Quote  Post ReplyReply Direct Link To This Post Posted: 22 December 2006 at 1:50am
hi,
 
i am using windows xp sp2 simplified chinese version and VC++ 6,
so the line 2076 is      strBuffer += _T('?);   // Char 0xAF
line 2089 is     strBuffer += _T('?);   // Char 0xFA
 

 
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: 22 December 2006 at 3:36am
oh. Thats I afraid. Please replace to
strBuffer += (TCHAR)0xAF;
and
strBuffer += (TCHAR)0xFA;
 
Will be fixed in first hot fix.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
MNovaro View Drop Down
Groupie
Groupie
Avatar

Joined: 20 June 2006
Status: Offline
Points: 71
Post Options Post Options   Thanks (0) Thanks(0)   Quote MNovaro Quote  Post ReplyReply Direct Link To This Post Posted: 22 December 2006 at 4:10am
The Syntax Editor control is great!
Do you have plans to add it to the ActiveX controls in some (near, hopefyllu :D) future??


Back to Top
reeves View Drop Down
Newbie
Newbie


Joined: 12 September 2006
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote reeves Quote  Post ReplyReply Direct Link To This Post Posted: 22 December 2006 at 4:11am
oleg, thanks.
 
Back to Top
halbertlouis View Drop Down
Newbie
Newbie


Joined: 22 December 2006
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote halbertlouis Quote  Post ReplyReply Direct Link To This Post Posted: 23 December 2006 at 1:22pm
Downloaded evaluation. Can't compile. Receiving the following errors:

c:\Program Files\Codejock Software\MFC\Xtreme ToolkitPro v10.4 for Visual Studio 2003\Source\SyntaxEdit\XTPSyntaxEditLexParser.h(967) : error C2589: '(' : illegal token on right side of '::'
c:\Program Files\Codejock Software\MFC\Xtreme ToolkitPro v10.4 for Visual Studio 2003\Source\SyntaxEdit\XTPSyntaxEditLexParser.h(967) : error C2059: syntax error : '::'
c:\Program Files\Codejock Software\MFC\Xtreme ToolkitPro v10.4 for Visual Studio 2003\Source\SyntaxEdit\XTPSyntaxEditLexParser.h(967) : error C2589: '(' : illegal token on right side of '::'

I'm not even using the syntax editor here.
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: 24 December 2006 at 3:54am
Do you have same problem when compile our samples?
Think problerm that you defined _MAX somewhere. try to add
 
#undef _MAX
#undef _MIN
 
before add toolkitpro in stdafx.h
 
 
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
halbertlouis View Drop Down
Newbie
Newbie


Joined: 22 December 2006
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote halbertlouis Quote  Post ReplyReply Direct Link To This Post Posted: 25 December 2006 at 10:24pm
Hi Oleg,

The samples compile fine, it happens to my own application only. It fixes the compile errors once I followed your suggestions.

IMHO, I think if this can be fixed in the Toolkit itself would be good. Otherwise customers might be turned away while trying the evaluation.


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: 26 December 2006 at 2:16am
Yes, of course we will fix it.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Posted: 26 December 2006 at 5:04am
(When) will the SyntaxEdit be available as ActiveX control ?
Back to Top
gshawn View Drop Down
Senior Member
Senior Member


Joined: 04 October 2004
Status: Offline
Points: 227
Post Options Post Options   Thanks (0) Thanks(0)   Quote gshawn Quote  Post ReplyReply Direct Link To This Post Posted: 26 December 2006 at 5:15am
I would also love to have the SyntaxEdit control as part of the ActiveX suite.... thanks
Back to Top
apuhjee View Drop Down
Senior Member
Senior Member
Avatar

Joined: 02 September 2005
Location: United States
Status: Offline
Points: 130
Post Options Post Options   Thanks (0) Thanks(0)   Quote apuhjee Quote  Post ReplyReply Direct Link To This Post Posted: 02 January 2007 at 5:56pm
And I'll third, fourth, and fifth that... I feel like a kid in grade school screaming, "but it's not fair!!!".

Please compile SyntaxEdit as a COM control :)

jp
I like mathematics because it is not human and has nothing particular
to do with this planet or with the whole accidental universe — because,
like Spinoza's God, it won't love us in return.
Back to Top
lorax1284 View Drop Down
Groupie
Groupie
Avatar

Joined: 10 September 2005
Location: Canada
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote lorax1284 Quote  Post ReplyReply Direct Link To This Post Posted: 08 January 2007 at 10:18pm
 
Originally posted by oleg oleg wrote:

Originally posted by halbertlouis halbertlouis wrote:

Downloaded evaluation. Can't compile. Receiving the following errors:

c:\Program Files\Codejock Software\MFC\Xtreme ToolkitPro v10.4 for Visual Studio 2003\Source\SyntaxEdit\XTPSyntaxEditLexParser.h(967) : error C2589: '(' : illegal token on right side of '::'
c:\Program Files\Codejock Software\MFC\Xtreme ToolkitPro v10.4 for Visual Studio 2003\Source\SyntaxEdit\XTPSyntaxEditLexParser.h(967) : error C2059: syntax error : '::'
c:\Program Files\Codejock Software\MFC\Xtreme ToolkitPro v10.4 for Visual Studio 2003\Source\SyntaxEdit\XTPSyntaxEditLexParser.h(967) : error C2589: '(' : illegal token on right side of '::'

I'm not even using the syntax editor here.

(merged postings)

The samples compile fine, it happens to my own application only. It fixes the compile errors once I followed your suggestions.

IMHO, I think if this can be fixed in the Toolkit itself would be good. Otherwise customers might be turned away while trying the evaluation.



Yes, of course we will fix it.


Is there an expected delivery date for this fix?
Ryan Germann
Product Manager &
UI Designer
Back to Top
venkyhyd View Drop Down
Groupie
Groupie


Joined: 29 June 2006
Location: India
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote venkyhyd Quote  Post ReplyReply Direct Link To This Post Posted: 09 January 2007 at 8:33am
Hello Oleg,
 
Do u mean to say that we should replace _T("ABC") to
 
strBuffer += (TCHAR)0xAF;
and
strBuffer += (TCHAR)0xFA;
 
I am afraid that we used _T("abc") in many place in the workspace... can you suggest on the alternate solution for this.
 
 
Thanks
 
Back to Top
venkyhyd View Drop Down
Groupie
Groupie


Joined: 29 June 2006
Location: India
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote venkyhyd Quote  Post ReplyReply Direct Link To This Post Posted: 09 January 2007 at 8:54am
Originally posted by oleg oleg wrote:

Hi,
 
It can't compile _T('»') ? What locale you have?
 
 
can you try to replace it to
 
strBuffer += (TCHAR)0xAF;
 
Hello We are using Windows XP Sp2, i fear bcoz we are using _T("abc..") in many places in workspace....
 
pls suggest how to overcome this compilation error

error C2589: '(' : illegal token on right side of '::'

error C2059: syntax error : '::'

error C2589: '(' : illegal token on right side of '::'

Back to Top
lorax1284 View Drop Down
Groupie
Groupie
Avatar

Joined: 10 September 2005
Location: Canada
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote lorax1284 Quote  Post ReplyReply Direct Link To This Post Posted: 10 January 2007 at 2:07am
FWIW, I took the following steps and was able to "patch" SyntaxEdit so my app would compile:

I searched for all occurrences of the string

XTP_EDIT_LINECOL

in all files in the following folder on my file system:

C:\Program Files\Codejock Software\MFC\Xtreme ToolkitPro v10.4\Source\SyntaxEdit

and in all of the 10 files that contained that string, I replaced all occurrences of

_MIN
_MAX

with

_cjMIN
_cjMAX

respectively.

I only replaced occurrences that came immediately after a space character or two consecutive colons ::

I didn't replace any that were part of other strings, like "INT_MAX" or "INT_MIN".

I then ran the CodeJock Deployment Wizard:
did "Compile the selected libraries"
did "Deploy using" and only checked "Visual C++ Version 7.1" (I also have 8.0 installed)
only chose "as a static library for applications using MFC as a library"
did both "ANSI" and "Unicode", and "Win32" (not Win64)

Your mileage may vary: we determined that _MAX and _MIN were used in one of the MSVC DLLs, and that was causing a conflict.

Good luck.
Ryan Germann
Product Manager &
UI Designer
Back to Top
Tsenoh View Drop Down
Groupie
Groupie
Avatar

Joined: 08 November 2006
Status: Offline
Points: 69
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tsenoh Quote  Post ReplyReply Direct Link To This Post Posted: 15 January 2007 at 8:39am
Hi!
 
Can you tell us when will the documentation for CommandBars 10.4 be ready? I downloaded the new version, but there is still documentation from 10.3 distributed with it.
 
In the meantime, where can we find more detailed version of release notes?
 
Thanks!
 
Bojan Hrnkas
Back to Top
Tsenoh View Drop Down
Groupie
Groupie
Avatar

Joined: 08 November 2006
Status: Offline
Points: 69
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tsenoh Quote  Post ReplyReply Direct Link To This Post Posted: 15 January 2007 at 8:42am
My bad! Ignore my last post.
Back to Top
robdon View Drop Down
Groupie
Groupie
Avatar

Joined: 27 April 2006
Location: United Kingdom
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote robdon Quote  Post ReplyReply Direct Link To This Post Posted: 19 January 2007 at 10:39am
Hi,

I would also like to know when / if the SyntaxEdit might be avialable for ActiveX.

Can someone from support tell us please...

Thanks,

Rob D.
Back to Top
apuhjee View Drop Down
Senior Member
Senior Member
Avatar

Joined: 02 September 2005
Location: United States
Status: Offline
Points: 130
Post Options Post Options   Thanks (0) Thanks(0)   Quote apuhjee Quote  Post ReplyReply Direct Link To This Post Posted: 19 January 2007 at 11:03am

No offense - but from the looks of it, they are using the MFC crowd as beta testers --- with an added benefit ---

Fixes are usually submitted when the bug is found :)
 
Cheers ~ jp
I like mathematics because it is not human and has nothing particular
to do with this planet or with the whole accidental universe — because,
like Spinoza's God, it won't love us in return.
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.250 seconds.