![]() |
Toolkit Pro version 13.0 demos |
Post Reply ![]() |
Author | |
Algae ![]() Senior Member ![]() ![]() Joined: 08 January 2007 Location: United States Status: Offline Points: 217 |
![]() ![]() ![]() ![]() ![]() 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. |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
Algae ![]() Senior Member ![]() ![]() Joined: 08 January 2007 Location: United States Status: Offline Points: 217 |
![]() ![]() ![]() ![]() ![]() |
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. ![]() |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |