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

C / C++ / MFC

 
GeneralIgnore Windows key + M Pin
Mike Hell31-Jan-05 12:36
Mike Hell31-Jan-05 12:36 
GeneralWM_PAINT seems not working Pin
int01hh31-Jan-05 12:28
int01hh31-Jan-05 12:28 
GeneralRe: WM_PAINT seems not working Pin
beerboy_2231-Jan-05 13:31
beerboy_2231-Jan-05 13:31 
GeneralRe: WM_PAINT seems not working Pin
JohnCz31-Jan-05 14:12
JohnCz31-Jan-05 14:12 
GeneralRe: WM_PAINT seems not working Pin
int01hh3-Feb-05 9:02
int01hh3-Feb-05 9:02 
GeneralList Control displays no Text Pin
RobertW10031-Jan-05 8:16
RobertW10031-Jan-05 8:16 
GeneralAnother user interface Thread Question Pin
Tom Wright31-Jan-05 7:39
Tom Wright31-Jan-05 7:39 
Generalpluggab;e protocol handler in MFC Pin
Wim Jans31-Jan-05 7:35
Wim Jans31-Jan-05 7:35 
Hello,

I have this asynchronous pluggable protocol handler (apph) that I'm trying to integrate into a an MFC application.
I've based my view on CHtmlView and call the apph using the Navigate2 method.

This works as expected.

Now, the apph is designed that - at initialization - you have to call a routine to set some variables (current path, ...).
These are statically stored inside the apph to make them persistant for the life of the apph.

The problem I'm facing is this:

After a few minutes of inactivity of my MFC application, MSHTMLED.DLL gets unloaded which also unloads the apph.
Whenever I try to click a link in my MFC application, it will fail from now one, as the apph was unloaded (and the static variables are gone). The apph is automatically loaded after clicking the link though, but the initialization phase is skipped of course.

Question: is there any way so I can MFC in tricking not to unload my protocol handler?

Thanks in advance



Wim
GeneralSerbian letters problem Pin
User 91483331-Jan-05 7:29
User 91483331-Jan-05 7:29 
GeneralRe: Serbian letters problem Pin
John R. Shaw31-Jan-05 7:54
John R. Shaw31-Jan-05 7:54 
GeneralString bugs out Pin
Gadjuka31-Jan-05 7:23
Gadjuka31-Jan-05 7:23 
GeneralRe: String bugs out Pin
Wes Aday31-Jan-05 9:21
professionalWes Aday31-Jan-05 9:21 
GeneralRe: String bugs out Pin
Gadjuka31-Jan-05 10:47
Gadjuka31-Jan-05 10:47 
GeneralRe: String bugs out Pin
Gadjuka2-Feb-05 12:06
Gadjuka2-Feb-05 12:06 
GeneralMute the volume in Windows XP Pin
Aneurysm0031-Jan-05 7:10
Aneurysm0031-Jan-05 7:10 
GeneralRe: Mute the volume in Windows XP Pin
David Crow31-Jan-05 9:18
David Crow31-Jan-05 9:18 
GeneralRe: Mute the volume in Windows XP Pin
Aneurysm001-Feb-05 3:10
Aneurysm001-Feb-05 3:10 
GeneralRe: Mute the volume in Windows XP Pin
David Crow1-Feb-05 3:51
David Crow1-Feb-05 3:51 
GeneralRe: Mute the volume in Windows XP Pin
Aneurysm001-Feb-05 5:58
Aneurysm001-Feb-05 5:58 
Questionhow to read hexadecimal input in an editbox Pin
cbaykal31-Jan-05 7:03
cbaykal31-Jan-05 7:03 
AnswerRe: how to read hexadecimal input in an editbox Pin
John R. Shaw31-Jan-05 7:39
John R. Shaw31-Jan-05 7:39 
GeneralGet out of infinite loop question! Pin
jazzkiller31-Jan-05 6:58
jazzkiller31-Jan-05 6:58 
GeneralRe: Get out of infinite loop question! Pin
PJ Arends31-Jan-05 7:13
professionalPJ Arends31-Jan-05 7:13 
GeneralRe: Get out of infinite loop question! Pin
Aneurysm0031-Jan-05 7:17
Aneurysm0031-Jan-05 7:17 
GeneralRe: Get out of infinite loop question! Pin
Tim Smith31-Jan-05 13:44
Tim Smith31-Jan-05 13: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.