Print Page | Close Window

Toolkit Pro version 13.0 demos

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=14391
Printed Date: 22 June 2025 at 12:48pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Toolkit Pro version 13.0 demos
Posted By: Algae
Subject: Toolkit Pro version 13.0 demos
Date Posted: 26 May 2009 at 4:35pm

Tried building CalendarDemo, VirtualList and ReportSample using Static link Unicode Debug or Unicode Release. No changes were made to the 13.0 libraries, sample code or resources.

Produces this error.

Error    2    fatal error CVT1100: duplicate resource.  type:DIALOG, name:30723, language:0x0409    CVTRES

A quick look through the Codejock directory didn't reveal any dialog resource with ID 30723. I know it is in afxres.h as:
#define AFX_IDD_PREVIEW_TOOLBAR         30723

Having found that, I noticed this in the .rc file and commented it out. The programs link properly
//Comment if you like original MS dialog-bar with small buttons cutting button text in many cases (e.g. for RU)
/*
AFX_IDD_PREVIEW_TOOLBAR DIALOGEX 0, 0, 478, 16
STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | WS_CHILD
FONT 8, "MS Shell Dlg", 0, 0, 0x0
BEGIN
    PUSHBUTTON      "&Print...",AFX_ID_PREVIEW_PRINT,2,2,61,12
    PUSHBUTTON      "&Next Page",AFX_ID_PREVIEW_NEXT,70,2,61,12
    PUSHBUTTON      "Pre&v Page",AFX_ID_PREVIEW_PREV,138,2,61,12
    PUSHBUTTON      "",AFX_ID_PREVIEW_NUMPAGE,206,2,61,12
    PUSHBUTTON      "Zoom &In",AFX_ID_PREVIEW_ZOOMIN,274,2,61,12
    PUSHBUTTON      "Zoom &Out",AFX_ID_PREVIEW_ZOOMOUT,342,2,61,12
    PUSHBUTTON      "&Close",AFX_ID_PREVIEW_CLOSE,410,2,61,12
END
*/

Also noticed that when selecting some of the sample projects to use Unicode the following were default settings:

Use of MFC: Use MFC in a Shared DLL  < no big deal
Character Set: Use Multi-Byte Character Set < this is incorrect for that profile. Please note that this was not the case in all samples. I noticed it in the Calendar samples section.

I'm sure you guys can fix this up right away. Thank you.



Replies:
Posted By: Oleg
Date Posted: 27 May 2009 at 2:06am
Hi,
 
Thanks, good note. Removed all AFX_IDD_PREVIEW_TOOLBAR resources from samples.
but can't reproduce MBCS thing. What Visual Studio version you have ?


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


Posted By: Algae
Date Posted: 28 May 2009 at 12:53pm
Thank you Oleg

I'm using VS 2005.

After the first couple MBCS settings I haven't found any more. I could have had the wrong solution configuration selected initially. In any event, it is a minor issue.

By the way a brilliant update from the previous version (10.4) we were using. Converting our old code to this one was simple and the added capabilities were more than I expected.



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