Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Toolkit Pro version 13.0  demos
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Toolkit Pro version 13.0 demos

 Post Reply Post Reply
Author
Message
Algae View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 January 2007
Location: United States
Status: Offline
Points: 217
Post Options Post Options   Thanks (0) Thanks(0)   Quote Algae Quote  Post ReplyReply Direct Link To This Post Topic: Toolkit Pro version 13.0 demos
    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.
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: 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
Back to Top
Algae View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 January 2007
Location: United States
Status: Offline
Points: 217
Post Options Post Options   Thanks (0) Thanks(0)   Quote Algae Quote  Post ReplyReply Direct Link To This Post 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.
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.078 seconds.