Click here to Skip to main content
15,914,074 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionProblem with compiling the VC++ code Pin
Dinu_IP9-Oct-06 20:10
Dinu_IP9-Oct-06 20:10 
AnswerRe: Problem with compiling the VC++ code Pin
Naveen9-Oct-06 21:46
Naveen9-Oct-06 21:46 
QuestionRecursing Subdirectory Pin
ayan_00_arup9-Oct-06 20:00
ayan_00_arup9-Oct-06 20:00 
AnswerRe: Recursing Subdirectory Pin
Naveen9-Oct-06 20:15
Naveen9-Oct-06 20:15 
AnswerRe: Recursing Subdirectory Pin
Hamid_RT9-Oct-06 20:15
Hamid_RT9-Oct-06 20:15 
AnswerRe: Recursing Subdirectory Pin
Galatei10-Oct-06 2:28
Galatei10-Oct-06 2:28 
Questionhow to catch console message Pin
Gongya Yu9-Oct-06 19:27
Gongya Yu9-Oct-06 19:27 
AnswerRe: how to catch console message Pin
Galatei10-Oct-06 2:31
Galatei10-Oct-06 2:31 
GeneralRe: how to catch console message Pin
Gongya Yu10-Oct-06 5:04
Gongya Yu10-Oct-06 5:04 
QuestionHow can we add the PNG images to Dialog boxes and other controls Pin
johnalek9-Oct-06 19:18
johnalek9-Oct-06 19:18 
AnswerRe: How can we add the PNG images to Dialog boxes and other controls Pin
Hamid_RT9-Oct-06 19:40
Hamid_RT9-Oct-06 19:40 
GeneralRe: How can we add the PNG images to Dialog boxes and other controls Pin
johnalek9-Oct-06 19:58
johnalek9-Oct-06 19:58 
GeneralRe: How can we add the PNG images to Dialog boxes and other controls Pin
Hamid_RT9-Oct-06 20:16
Hamid_RT9-Oct-06 20:16 
QuestionBug when restoring state of docked windows Pin
lastgen9-Oct-06 19:16
lastgen9-Oct-06 19:16 
AnswerRe: Bug when restoring state of docked windows Pin
Rajesh R Subramanian10-Oct-06 0:16
professionalRajesh R Subramanian10-Oct-06 0:16 
GeneralRe: Bug when restoring state of docked windows Pin
lastgen12-Oct-06 15:42
lastgen12-Oct-06 15:42 
QuestionAvoiding redefinition of INT8 Pin
Padmanabh Sharma9-Oct-06 19:05
Padmanabh Sharma9-Oct-06 19:05 
AnswerRe: Avoiding redefinition of INT8 Pin
Hamid_RT9-Oct-06 19:14
Hamid_RT9-Oct-06 19:14 
GeneralRe: Avoiding redefinition of INT8 Pin
Padmanabh Sharma9-Oct-06 19:34
Padmanabh Sharma9-Oct-06 19:34 
AnswerRe: Avoiding redefinition of INT8 Pin
jhwurmbach10-Oct-06 5:31
jhwurmbach10-Oct-06 5:31 
Padmanabh Sharma wrote:
WMI defines INT8. At the same time I am using one library that defines INT8, and because of this I am getting redefinition error for INT8. I can not change the code either in WMI or in other library. But is there any other workaround for the same?


Hmmm.
You could write a (thin) wrapper-class for (parts of) WMI (or the other lib), hiding it from the outside.
In that class's .cpp, before including the WMI-stuff, you undef INT8 (it is not typedef'd I hope) and let WMI define it.





"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation."

-- Caius Petronius, Roman Consul, 66 A.D.

QuestionHardware details without using WMI Pin
Padmanabh Sharma9-Oct-06 19:00
Padmanabh Sharma9-Oct-06 19:00 
AnswerRe: Hardware details without using WMI Pin
Hamid_RT9-Oct-06 19:12
Hamid_RT9-Oct-06 19:12 
GeneralRe: Hardware details without using WMI Pin
Padmanabh Sharma9-Oct-06 19:32
Padmanabh Sharma9-Oct-06 19:32 
GeneralRe: Hardware details without using WMI Pin
Padmanabh Sharma9-Oct-06 19:38
Padmanabh Sharma9-Oct-06 19:38 
GeneralRe: Hardware details without using WMI Pin
Hamid_RT10-Oct-06 19:23
Hamid_RT10-Oct-06 19:23 

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.