Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ VS2010
hiii everyone...
I have created a dll application in vs2010 using c++, when i change the property viz General->character set ->using multibyte character set.. the 3Dlook of the dialog based application using the dll disappears..
I have tried simple application which uses same properties but it retains the 3D look..
Please helpmefor the same ie how do i maintain 3d apperance of my dialog with general property set to using multibyte character set...
Thank you in advance
Posted 10-Sep-12 20:11pm

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

At the bottom of stdafx.h, there are some wizzard generated lines. They begin with:
 
#ifdef _UNICODE
#endif
 
The line that make the controls "3D":
 
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
 
They contain Windows common controls manifiest.
Remove the first ifdef (unicode) and the last endif.
 
The common controls manifiest work ok for both unicode and multibyte (at least I had never had a problem).
 
Hope it helps.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 195
1 ProgramFOX 130
2 Maciej Los 105
3 Afzaal Ahmad Zeeshan 82
4 Sergey Alexandrovich Kryukov 75
0 OriginalGriff 6,564
1 Sergey Alexandrovich Kryukov 6,048
2 DamithSL 5,228
3 Manas Bhardwaj 4,717
4 Maciej Los 4,150


Advertise | Privacy | Mobile
Web02 | 2.8.1411022.1 | Last Updated 11 Sep 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100