Click here to Skip to main content
15,900,511 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Hardware details without using WMI Pin
Hamid_RT9-Oct-06 19:38
Hamid_RT9-Oct-06 19:38 
QuestionUsing Advise in HtmlDocument obtained from a CHtmlView Pin
georgekjolly9-Oct-06 18:19
georgekjolly9-Oct-06 18:19 
QuestionThousands separator Pin
apffal9-Oct-06 14:24
apffal9-Oct-06 14:24 
AnswerRe: Thousands separator Pin
Nibu babu thomas9-Oct-06 17:40
Nibu babu thomas9-Oct-06 17:40 
AnswerRe: Thousands separator Pin
apffal10-Oct-06 12:11
apffal10-Oct-06 12:11 
QuestionWaitForSingleObject Pin
P1P3R9-Oct-06 13:54
P1P3R9-Oct-06 13:54 
AnswerRe: WaitForSingleObject Pin
Peter Weyzen9-Oct-06 14:04
Peter Weyzen9-Oct-06 14:04 
GeneralRe: WaitForSingleObject Pin
P1P3R9-Oct-06 16:07
P1P3R9-Oct-06 16:07 
AnswerRe: WaitForSingleObject Pin
Mark Salsbery9-Oct-06 16:42
Mark Salsbery9-Oct-06 16:42 
AnswerRe: WaitForSingleObject Pin
Mark Salsbery9-Oct-06 16:51
Mark Salsbery9-Oct-06 16:51 
GeneralRe: WaitForSingleObject Pin
P1P3R9-Oct-06 20:15
P1P3R9-Oct-06 20:15 
AnswerRe: WaitForSingleObject Pin
pavan_sw11-Oct-06 0:20
pavan_sw11-Oct-06 0:20 

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.