Click here to Skip to main content
15,923,083 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to stop the msvc optimizer from flushing registers? Pin
Aardappel17-Jul-03 21:30
Aardappel17-Jul-03 21:30 
QuestionHow can I import a nice looking icon? Pin
DanYELL17-Jul-03 5:26
DanYELL17-Jul-03 5:26 
AnswerRe: How can I import a nice looking icon? Pin
pranavamhari17-Jul-03 6:23
pranavamhari17-Jul-03 6:23 
AnswerRe: How can I import a nice looking icon? Pin
Mike Nordell17-Jul-03 9:12
Mike Nordell17-Jul-03 9:12 
GeneralSimple Direct Show question Pin
rrrado17-Jul-03 5:22
rrrado17-Jul-03 5:22 
GeneralRe: Simple Direct Show question Pin
GheeButter17-Jul-03 8:15
GheeButter17-Jul-03 8:15 
QuestionHow can I prevent that an OCX or a Dll is loading more then once? Pin
gar@isogmbh.de17-Jul-03 4:48
gar@isogmbh.de17-Jul-03 4:48 
AnswerRe: How can I prevent that an OCX or a Dll is loading more then once? Pin
Iain Clarke, Warrior Programmer17-Jul-03 5:00
Iain Clarke, Warrior Programmer17-Jul-03 5:00 
This is one of those problems that demands lateral thinking. The OCX is being loaded twice,
because it is being *asked* to...

The solution depends on *why* you want to prevent it from loading twice. You could let it
load multiple times, but only on the first instance let any calls succeed.

Or you could go the brute force way, and set DllMain to return FALSE when being attached to
by a second process. How you detect this is another question. Involving shared segment, or
memory mapped files, etc.

Iain.

GeneralRe: How can I prevent that an OCX or a Dll is loading more then once? Pin
gar@isogmbh.de17-Jul-03 6:21
gar@isogmbh.de17-Jul-03 6:21 
QuestionHow to debug "abnormal program termination" Pin
Anonymous17-Jul-03 4:40
Anonymous17-Jul-03 4:40 
Generaltapi messages Pin
Liate17-Jul-03 4:07
Liate17-Jul-03 4:07 
Generalmailto problem Pin
skinnyreptile17-Jul-03 4:05
skinnyreptile17-Jul-03 4:05 
GeneralRe: mailto problem Pin
Iain Clarke, Warrior Programmer17-Jul-03 4:29
Iain Clarke, Warrior Programmer17-Jul-03 4:29 
GeneralRe: mailto problem Pin
Ryan Binns17-Jul-03 5:39
Ryan Binns17-Jul-03 5:39 
GeneralRe: mailto problem Pin
Iain Clarke, Warrior Programmer17-Jul-03 6:01
Iain Clarke, Warrior Programmer17-Jul-03 6:01 
GeneralTab Order Pin
User 988517-Jul-03 3:51
User 988517-Jul-03 3:51 
GeneralRe: Tab Order Pin
Mike Dimmick17-Jul-03 4:23
Mike Dimmick17-Jul-03 4:23 
GeneralRe: Tab Order Pin
Iain Clarke, Warrior Programmer17-Jul-03 4:25
Iain Clarke, Warrior Programmer17-Jul-03 4:25 
GeneralVS.NET and Win XP... Pin
Anonymous17-Jul-03 3:44
Anonymous17-Jul-03 3:44 
GeneralRe: VS.NET and Win XP... Pin
valikac17-Jul-03 4:31
valikac17-Jul-03 4:31 
GeneralRe: VS.NET and Win XP... Pin
pranavamhari17-Jul-03 6:28
pranavamhari17-Jul-03 6:28 
GeneralRe: VS.NET and Win XP... Pin
jspano17-Jul-03 7:34
jspano17-Jul-03 7:34 
GeneralRe: VS.NET and Win XP... Pin
Mike Nordell17-Jul-03 9:24
Mike Nordell17-Jul-03 9:24 
GeneralRe: VS.NET and Win XP... Pin
jspano18-Jul-03 4:51
jspano18-Jul-03 4:51 
GeneralModeless Windows Pin
Jay Hova17-Jul-03 3:44
Jay Hova17-Jul-03 3:44 

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.