Click here to Skip to main content
15,887,485 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: to find starting point of a seismic or magnatic digital waveform Pin
David Crow27-Apr-10 6:02
David Crow27-Apr-10 6:02 
GeneralRe: to find starting point of a seismic or magnatic digital waveform Pin
mrby12327-Apr-10 6:08
mrby12327-Apr-10 6:08 
GeneralRe: to find starting point of a seismic or magnatic digital waveform Pin
David Crow27-Apr-10 6:14
David Crow27-Apr-10 6:14 
AnswerRe: to find starting point of a waveform Pin
chandu00426-Apr-10 22:52
chandu00426-Apr-10 22:52 
GeneralRe: to find starting point of a waveform Pin
mrby12326-Apr-10 23:50
mrby12326-Apr-10 23:50 
AnswerRe: to find starting point of a waveform Pin
r.ps27-Apr-10 3:58
r.ps27-Apr-10 3:58 
AnswerRe: to find starting point of a waveform Pin
Alan Balkany27-Apr-10 4:04
Alan Balkany27-Apr-10 4:04 
QuestionPlatform SDK (February 2003) and MFC code [SOLVED] Pin
starreyed26-Apr-10 18:52
starreyed26-Apr-10 18:52 
We have a large application built using VC6 (SP6) which also involves MFC, running on WinXP SP3.

Now, when I tried to display the Print Property Sheet, available through the PrintDlgEx() function, and the LPPRINTDLGEX structure, I found that my CommDlg.h did not contain these definitions. For that purpose, I searched the 'Net and downloaded the last Platform SDK (February 2003 edition), which is supposed to work for VC6. I installed the SDK, updated the directory paths in the VC6 environment (keeping them at the top), but it still simply refuses to recognize these structures & functions, giving the C2065 (Undeclared identifier) conpiler errors.

Including Windows.h, commdlg.h has no effect. However, when the line #include "Windows.h" is placed above the #include "Stdafx.h" line, then the nature of errors changes, and we are redirected to the error line in afxwin32.h - MFC apps should not include Windows.h!!

Could anybody guide us here?
Thanks !

modified on Wednesday, May 5, 2010 6:33 AM

AnswerRe: Platform SDK (February 2003) and MFC code Pin
Stuart Dootson26-Apr-10 23:55
professionalStuart Dootson26-Apr-10 23:55 
AnswerRe: Platform SDK (February 2003) and MFC code Pin
David Crow27-Apr-10 2:48
David Crow27-Apr-10 2:48 
GeneralRe: Platform SDK (February 2003) and MFC code [modified] Pin
starreyed27-Apr-10 19:25
starreyed27-Apr-10 19:25 
GeneralRe: Platform SDK (February 2003) and MFC code Pin
Stuart Dootson27-Apr-10 21:16
professionalStuart Dootson27-Apr-10 21:16 
GeneralRe: Platform SDK (February 2003) and MFC code Pin
starreyed28-Apr-10 0:43
starreyed28-Apr-10 0:43 
GeneralRe: Platform SDK (February 2003) and MFC code Pin
Stuart Dootson28-Apr-10 2:09
professionalStuart Dootson28-Apr-10 2:09 
GeneralRe: Platform SDK (February 2003) and MFC code Pin
starreyed28-Apr-10 20:01
starreyed28-Apr-10 20:01 
GeneralRe: Platform SDK (February 2003) and MFC code Pin
Stuart Dootson28-Apr-10 20:41
professionalStuart Dootson28-Apr-10 20:41 
GeneralRe: Platform SDK (February 2003) and MFC code Pin
starreyed5-May-10 0:30
starreyed5-May-10 0:30 
GeneralRe: Platform SDK (February 2003) and MFC code Pin
Stuart Dootson5-May-10 1:14
professionalStuart Dootson5-May-10 1:14 
QuestionProblem on a sample code in "Windows SDK" (COM interface)? Pin
bahareh65526-Apr-10 9:02
bahareh65526-Apr-10 9:02 
AnswerRe: Problem on a sample code in "Windows SDK" (COM interface)? Pin
«_Superman_»26-Apr-10 9:17
professional«_Superman_»26-Apr-10 9:17 
AnswerRe: Problem on a sample code in "Windows SDK" (COM interface)? Pin
Michel Godfroid26-Apr-10 12:12
Michel Godfroid26-Apr-10 12:12 
QuestionPassing Data to Threaded Functions / Win32 Pin
Fareed Rizkalla26-Apr-10 6:50
Fareed Rizkalla26-Apr-10 6:50 
AnswerRe: Passing Data to Threaded Functions / Win32 Pin
«_Superman_»26-Apr-10 7:05
professional«_Superman_»26-Apr-10 7:05 
GeneralRe: Passing Data to Threaded Functions / Win32 Pin
Fareed Rizkalla26-Apr-10 9:04
Fareed Rizkalla26-Apr-10 9:04 
GeneralRe: Passing Data to Threaded Functions / Win32 Pin
«_Superman_»26-Apr-10 9:14
professional«_Superman_»26-Apr-10 9:14 

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.