Click here to Skip to main content
15,880,725 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Converting from wchar_t* to char* Pin
Allad28-Jan-06 11:33
Allad28-Jan-06 11:33 
GeneralRe: Converting from wchar_t* to char* Pin
Stephen Hewitt28-Jan-06 18:12
Stephen Hewitt28-Jan-06 18:12 
GeneralRe: Converting from wchar_t* to char* Pin
Allad28-Jan-06 18:23
Allad28-Jan-06 18:23 
GeneralRe: Converting from wchar_t* to char* Pin
Stephen Hewitt28-Jan-06 18:35
Stephen Hewitt28-Jan-06 18:35 
QuestionMoving the hole Pin
eivanlo27-Jan-06 7:20
eivanlo27-Jan-06 7:20 
AnswerRe: Moving the hole Pin
Bob Ciora27-Jan-06 12:03
Bob Ciora27-Jan-06 12:03 
QuestionHow do you get Vc6 apps to look themed in Vc8? Pin
Swinefeaster27-Jan-06 7:12
Swinefeaster27-Jan-06 7:12 
AnswerRe: How do you get Vc6 apps to look themed in Vc8? Pin
Jack Puppy27-Jan-06 8:37
Jack Puppy27-Jan-06 8:37 
I had the same trouble migrating from vc71. The first thing you need to do is remove your old manifest file from the resources.

Secondly, you need to add a small snippet of code to your vc6 project that exists in new vc8 projects, but is missing from migrated projects.

Create a new vc8 mfc project - at the bottom of the stdafx.h file, you'll see something like this:

<br />
...<br />
#ifdef _UNICODE<br />
<br />
...<br />
<br />
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")<br />
<br />
...<br />
<br />
#endif<br />


Copy the entire #ifdef block to the stdafx.h file of your old project and it should remedy the problem.


"My dog worries about the economy. Alpo is up to 99 cents a can. That's almost seven dollars in dog money" - Wacky humour found in a business magazine

GeneralRe: How do you get Vc6 apps to look themed in Vc8? Pin
Swinefeaster27-Jan-06 10:44
Swinefeaster27-Jan-06 10:44 
GeneralRe: How do you get Vc6 apps to look themed in Vc8? Pin
Jack Puppy27-Jan-06 13:25
Jack Puppy27-Jan-06 13:25 
GeneralRe: How do you get Vc6 apps to look themed in Vc8? Pin
Prakash Nadar27-Jan-06 22:37
Prakash Nadar27-Jan-06 22:37 
GeneralRe: How do you get Vc6 apps to look themed in Vc8? Pin
Swinefeaster3-Feb-06 8:10
Swinefeaster3-Feb-06 8:10 
QuestionHow to find total memory a process is using? Pin
sysop@HAL9K.com27-Jan-06 5:27
sysop@HAL9K.com27-Jan-06 5:27 
AnswerRe: How to find total memory a process is using? Pin
Toby Opferman27-Jan-06 7:20
Toby Opferman27-Jan-06 7:20 
GeneralRe: How to find total memory a process is using? Pin
Toby Opferman27-Jan-06 7:39
Toby Opferman27-Jan-06 7:39 
AnswerRe: How to find total memory a process is using? Pin
sysop@HAL9K.com27-Jan-06 9:24
sysop@HAL9K.com27-Jan-06 9:24 
AnswerRe: How to find total memory a process is using? Pin
David Crow27-Jan-06 9:39
David Crow27-Jan-06 9:39 
Question"choose color" combobox Pin
xyhan27-Jan-06 5:24
xyhan27-Jan-06 5:24 
AnswerRe: "choose color" combobox Pin
Graham Bradshaw27-Jan-06 5:36
Graham Bradshaw27-Jan-06 5:36 
AnswerRe: "choose color" combobox Pin
David Crow27-Jan-06 9:41
David Crow27-Jan-06 9:41 
Questionhttp://www.codeproject.com/listctrl/liwne.asp Pin
hanno2527-Jan-06 4:48
hanno2527-Jan-06 4:48 
AnswerRe: http://www.codeproject.com/listctrl/liwne.asp Pin
benjymous27-Jan-06 5:41
benjymous27-Jan-06 5:41 
QuestionInheritance question Pin
act_x27-Jan-06 4:39
act_x27-Jan-06 4:39 
QuestionRe: Inheritance question Pin
David Crow27-Jan-06 5:10
David Crow27-Jan-06 5:10 
AnswerRe: Inheritance question Pin
Maximilien27-Jan-06 5:12
Maximilien27-Jan-06 5:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.