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

C / C++ / MFC

 
AnswerRe: GCC & vga,bitmap.c Pin
Bacon Ultimate Cheeseburger14-Aug-09 17:29
Bacon Ultimate Cheeseburger14-Aug-09 17:29 
AnswerRe: GCC & vga,bitmap.c Pin
Bacon Ultimate Cheeseburger14-Aug-09 20:33
Bacon Ultimate Cheeseburger14-Aug-09 20:33 
QuestionVC7 to VC8 migration Pin
uli200014-Aug-09 9:01
uli200014-Aug-09 9:01 
AnswerRe: VC7 to VC8 migration Pin
«_Superman_»14-Aug-09 17:05
professional«_Superman_»14-Aug-09 17:05 
QuestionTVINSERTSTRUCT - how to get the "item" memeber in CTreeCtrl? Pin
Vaclav_14-Aug-09 8:49
Vaclav_14-Aug-09 8:49 
AnswerRe: TVINSERTSTRUCT - how to get the "item" memeber in CTreeCtrl? Pin
Vaclav_14-Aug-09 8:53
Vaclav_14-Aug-09 8:53 
QuestionLogger! "hijacking" interface! Pin
thelonesquirrely14-Aug-09 7:27
thelonesquirrely14-Aug-09 7:27 
AnswerRe: Logger! "hijacking" interface! Pin
thelonesquirrely14-Aug-09 8:36
thelonesquirrely14-Aug-09 8:36 
I think working with a friend we figured out a ghetto fix. And we keep typesafe Smile | :)

First we have objects that contain the information about the entry (type, severity, fmt). Then we overload the ',' operator for that object. This allows us to use the fact that the Macro is expanded into a comma separated list to our advantage. All we do is daisy chain the function calls.

I know what you're thinking: wow. that is ghetto.

It is. Without changing the implementation or specification of the log i couldn't think of a way to keep type safe.

I am still open to ideas.
QuestionHow to get tool tip text of another application. Pin
onlyjaypatel14-Aug-09 4:27
onlyjaypatel14-Aug-09 4:27 
AnswerRe: How to get tool tip text of another application. Pin
Bacon Ultimate Cheeseburger14-Aug-09 11:26
Bacon Ultimate Cheeseburger14-Aug-09 11:26 
GeneralRe: How to get tool tip text of another application. Pin
onlyjaypatel14-Aug-09 19:29
onlyjaypatel14-Aug-09 19:29 
QuestionSet TitleBAr Pin
kumar sanghvi14-Aug-09 2:52
kumar sanghvi14-Aug-09 2:52 
AnswerRe: Set TitleBAr Pin
kumar sanghvi14-Aug-09 3:45
kumar sanghvi14-Aug-09 3:45 
QuestionRe: Set TitleBAr Pin
David Crow14-Aug-09 5:39
David Crow14-Aug-09 5:39 
GeneralRe: Set TitleBAr Pin
Bacon Ultimate Cheeseburger14-Aug-09 11:52
Bacon Ultimate Cheeseburger14-Aug-09 11:52 
QuestionUniversal font Pin
includeh1014-Aug-09 2:18
includeh1014-Aug-09 2:18 
AnswerRe: Universal font Pin
Stuart Dootson14-Aug-09 2:21
professionalStuart Dootson14-Aug-09 2:21 
AnswerRe: Universal font Pin
Nemanja Trifunovic14-Aug-09 3:00
Nemanja Trifunovic14-Aug-09 3:00 
QuestionNTLM authentication and Wininet.dll dependency Pin
dharani14-Aug-09 0:22
dharani14-Aug-09 0:22 
AnswerRe: NTLM authentication and Wininet.dll dependency Pin
Stuart Dootson14-Aug-09 2:20
professionalStuart Dootson14-Aug-09 2:20 
QuestionDLL Hell ? Pin
Haakon S.14-Aug-09 0:21
Haakon S.14-Aug-09 0:21 
AnswerRe: DLL Hell ? Pin
_AnsHUMAN_ 14-Aug-09 0:29
_AnsHUMAN_ 14-Aug-09 0:29 
GeneralRe: DLL Hell ? Pin
Haakon S.14-Aug-09 4:12
Haakon S.14-Aug-09 4:12 
AnswerRe: DLL Hell ? Pin
Randor 14-Aug-09 2:24
professional Randor 14-Aug-09 2:24 
GeneralRe: DLL Hell ? Pin
Haakon S.14-Aug-09 4:10
Haakon S.14-Aug-09 4:10 

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.