Click here to Skip to main content
15,913,941 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionvc6 to vc8 conversion [modified] Pin
Russell'12-Nov-08 3:56
Russell'12-Nov-08 3:56 
GeneralRe: vc6 to vc8 conversion Pin
led mike12-Nov-08 4:20
led mike12-Nov-08 4:20 
GeneralRe: vc6 to vc8 conversion Pin
Russell'12-Nov-08 4:35
Russell'12-Nov-08 4:35 
GeneralRe: vc6 to vc8 conversion Pin
led mike12-Nov-08 4:59
led mike12-Nov-08 4:59 
GeneralRe: vc6 to vc8 conversion Pin
David Crow12-Nov-08 5:40
David Crow12-Nov-08 5:40 
GeneralRe: vc6 to vc8 conversion Pin
Mark Salsbery12-Nov-08 9:10
Mark Salsbery12-Nov-08 9:10 
GeneralRe: vc6 to vc8 conversion Pin
Russell'12-Nov-08 22:12
Russell'12-Nov-08 22:12 
GeneralRe: vc6 to vc8 conversion Pin
Mark Salsbery13-Nov-08 6:19
Mark Salsbery13-Nov-08 6:19 
The first one - the pdb file - is easy. If clean doesn't
remove it, delete it by hand. That file probably has full
paths to source files so attached debuggers can magically find the
corresponding source code. It has to be regenerated for the
new source locations.


The PCH is a little trickier. After moving your source files
and re-adding them to the project in their new location:

1) From the solution explorer, right click on the project and choose
properties.

2) Navigate to the C/C++ Precompiled Headers section.
Typical setting should be

Use Precompiled Header (/Yu)
StdAfx.h
$(IntDir)\$(TargetName).pch

3) With the properties window still open, click on the
stdafx.cpp file in the solution explorer. The properties
window will change to show that individual file's settings.
Change the Create/Use Precompiled Header setting to create.
The settings should look like this.

Create Precompiled Header (/Yc)
StdAfx.h
$(IntDir)\$(TargetName).pch

That should be all you have to do.

Mark

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: vc6 to vc8 conversion Pin
Russell'13-Nov-08 7:54
Russell'13-Nov-08 7:54 
GeneralRe: vc6 to vc8 conversion Pin
Mark Salsbery13-Nov-08 8:31
Mark Salsbery13-Nov-08 8:31 
AnswerRe: vc6 to vc8 conversion Pin
Joe Woodbury12-Nov-08 11:47
professionalJoe Woodbury12-Nov-08 11:47 
GeneralRe: vc6 to vc8 conversion Pin
Russell'12-Nov-08 22:20
Russell'12-Nov-08 22:20 
QuestionThe WM_DEVICECHANGE question Pin
josip cagalj12-Nov-08 3:28
josip cagalj12-Nov-08 3:28 
AnswerRe: The WM_DEVICECHANGE question Pin
Roger Stoltz12-Nov-08 3:58
Roger Stoltz12-Nov-08 3:58 
AnswerRe: The WM_DEVICECHANGE question Pin
Iain Clarke, Warrior Programmer12-Nov-08 12:09
Iain Clarke, Warrior Programmer12-Nov-08 12:09 
QuestionRegisterClassEx and CreateWindowEx fails.. Pin
gothic_coder12-Nov-08 2:35
gothic_coder12-Nov-08 2:35 
AnswerRe: RegisterClassEx and CreateWindowEx fails.. Pin
CPallini12-Nov-08 2:47
mveCPallini12-Nov-08 2:47 
GeneralRe: RegisterClassEx and CreateWindowEx fails.. Pin
gothic_coder12-Nov-08 3:10
gothic_coder12-Nov-08 3:10 
AnswerRe: RegisterClassEx and CreateWindowEx fails.. Pin
Randor 12-Nov-08 2:59
professional Randor 12-Nov-08 2:59 
QuestionRe: RegisterClassEx and CreateWindowEx fails.. Pin
David Crow12-Nov-08 3:00
David Crow12-Nov-08 3:00 
AnswerRe: RegisterClassEx and CreateWindowEx fails.. Pin
enhzflep12-Nov-08 3:01
enhzflep12-Nov-08 3:01 
GeneralRe: RegisterClassEx and CreateWindowEx fails.. Pin
gothic_coder12-Nov-08 3:18
gothic_coder12-Nov-08 3:18 
GeneralRe: RegisterClassEx and CreateWindowEx fails.. Pin
enhzflep12-Nov-08 3:36
enhzflep12-Nov-08 3:36 
GeneralRe: RegisterClassEx and CreateWindowEx fails.. Pin
gothic_coder12-Nov-08 3:43
gothic_coder12-Nov-08 3:43 
GeneralRe: RegisterClassEx and CreateWindowEx fails.. Pin
enhzflep12-Nov-08 3:50
enhzflep12-Nov-08 3:50 

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.