Click here to Skip to main content
15,886,032 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to get rid of VC++ tabs? Pin
David Crow5-Sep-06 5:24
David Crow5-Sep-06 5:24 
AnswerRe: how to get rid of VC++ tabs? Pin
krmed5-Sep-06 7:39
krmed5-Sep-06 7:39 
GeneralRe: how to get rid of VC++ tabs? Pin
9ine7-Sep-06 23:15
9ine7-Sep-06 23:15 
GeneralRe: how to get rid of VC++ tabs? Pin
9ine7-Sep-06 23:21
9ine7-Sep-06 23:21 
Question[OF] Using Plain C++ to create Windows Pin
QuickDeveloper5-Sep-06 3:48
QuickDeveloper5-Sep-06 3:48 
AnswerRe: [OF] Using Plain C++ to create Windows Pin
David Crow5-Sep-06 4:01
David Crow5-Sep-06 4:01 
AnswerRe: [OF] Using Plain C++ to create Windows Pin
Cedric Moonen5-Sep-06 4:04
Cedric Moonen5-Sep-06 4:04 
Questionurgent help needed with name collision in libraries Pin
m.dietz5-Sep-06 3:29
m.dietz5-Sep-06 3:29 
Hi,
In a current project I use the PDH library to monitor system states for finding ressource and memory eaters in our system. The problem I now encountered is that one component uses lm.h, which uses lmerrlog.h, and both pdh.h and lmerrlog.h define a type HLOG (a HANDLE in PDH.h and a struct_HLOG in lmerrlog.h) this name collision results in not being able to compile the component using the lm, as the component using pdh.h is part of a very basic class collection used by EVERY other component in the project. How can I solve this problem of name collision. Both are Microsoft libraries included in Visual C++ 6.0 so I can't just rename the Handle in pdh.h or the struct in lm.h.

I hope this problem can be solved without installing additionally software as this software would have to be installed not only on our compiling computer but then on every developer's PC.

Is there some kind of namespace definition to encapsulate the usage of the PDH.h HLOG on just the component using the PDH library?? Or is there some other way to encapsulate the visibility of that definition to that class.

Hope you can help
Martin Dietz
AnswerRe: urgent help needed with name collision in libraries Pin
Blake Miller6-Sep-06 11:44
Blake Miller6-Sep-06 11:44 
GeneralRe: urgent help needed with name collision in libraries Pin
m.dietz10-Sep-06 23:14
m.dietz10-Sep-06 23:14 
QuestionPassword protected files and folders Pin
amaneet5-Sep-06 2:46
amaneet5-Sep-06 2:46 
AnswerRe: Password protected files and folders Pin
Chris Losinger5-Sep-06 3:13
professionalChris Losinger5-Sep-06 3:13 
QuestionRe: Password protected files and folders Pin
David Crow5-Sep-06 4:04
David Crow5-Sep-06 4:04 
QuestionHow to use the WMI Class to get hardware/system information? Pin
HansonDavid5-Sep-06 2:32
HansonDavid5-Sep-06 2:32 
AnswerRe: How to use the WMI Class to get hardware/system information? Pin
Hamid_RT5-Sep-06 2:41
Hamid_RT5-Sep-06 2:41 
GeneralRe: How to use the WMI Class to get hardware/system information? Pin
HansonDavid5-Sep-06 16:47
HansonDavid5-Sep-06 16:47 
GeneralRe: How to use the WMI Class to get hardware/system information? Pin
HansonDavid5-Sep-06 21:46
HansonDavid5-Sep-06 21:46 
GeneralRe: How to use the WMI Class to get hardware/system information? Pin
Hamid_RT6-Sep-06 2:36
Hamid_RT6-Sep-06 2:36 
GeneralRe: How to use the WMI Class to get hardware/system information? Pin
Hamid_RT7-Sep-06 8:14
Hamid_RT7-Sep-06 8:14 
AnswerRe: How to use the WMI Class to get hardware/system information? Pin
Viorel.5-Sep-06 3:34
Viorel.5-Sep-06 3:34 
GeneralRe: How to use the WMI Class to get hardware/system information? Pin
HansonDavid5-Sep-06 21:32
HansonDavid5-Sep-06 21:32 
QuestionIncrease the window message priority Pin
helpcode5-Sep-06 2:30
helpcode5-Sep-06 2:30 
AnswerRe: Increase the window message priority Pin
Frank K5-Sep-06 2:42
Frank K5-Sep-06 2:42 
GeneralRe: Increase the window message priority Pin
helpcode6-Sep-06 18:40
helpcode6-Sep-06 18:40 
AnswerRe: Increase the window message priority Pin
ThatsAlok5-Sep-06 2:47
ThatsAlok5-Sep-06 2:47 

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.