Comments are available to members only. Sign up or Log in to view these comments.
Main Topics
Browse All TopicsHi Experts,
I would like to ask a few question, I will put them in one thread because they all are related to my issue. I would like to choose one solution, but not sure if some of them are nonsense.
I have an MFC application with embedded MS's WebBrowser Control, using CHtmlView derived class. I need the user to be able to switch between IE's emulation modes but the only way is to set a registry key value (http://blogs.msdn.com/ie/
I'm not able to switch those modes at runtime but I need this feature. Possible solutions/bypasses I was able to think out are:
1. to unload all IE related dll's from address space after destroying browser, change the registry key value and finally reload the dll's by creating browser again. This is probably most naive solution I suggest :) Maybe it's completely wrong. Is there a way how to unload unused dlls? Or to unload a single dll which wasn't loaded using LoadLibrary function?
2. to automaticaly restart whole application and use the new value of reg. key. One solution for autorestart could be to run a daemon process which would do the job. Is it right? I never did it before, so there could be better way. Could you please suggest. Where to find resources on how to develop daemon processes? (this is not a user-friendly solution but will certainly work)
3. to create a multiprocess application and restart only the process with browser. Never tried before and I'm not familiar with multiprocess application development. Could you suggest resources please? (this could be the most clean solution)
Please let me know which solution would you choose and where to find some relevant resources. Of course you can suggest another possibilities :)
Thank you in advance!
Regards,
martin
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: DanRollinsPosted on 2009-11-04 at 12:46:59ID: 25743724
Comments are available to members only. Sign up or Log in to view these comments.