Click here to Skip to main content
15,886,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Dear People,

How can I host mshtml (mshtml.dll) or the WebBrowser (shdocvw.dll) active documents using just Win32 and native C++ (no MFC, ATL, or dotnet)?

Thank You.
Posted
Updated 15-Mar-12 13:38pm
v5
Comments
barneyman 15-Mar-12 20:19pm    
that's a LOT of work if you don't use a framework - I understand why you don't want to use MFC, but why not ATL/WTL?

1 solution

Lucian Wischik's WebForm is a nice working start: Host mshtml active document in win32 without mfc[^]

MSDN provides this guide on the WebBrowser customization: http://msdn.microsoft.com/en-us/library/ie/aa770041(v=vs.85).aspx[^]

And of course, you may need the MSDN WebBrowser interface guide: http://msdn.microsoft.com/en-us/library/aa752042(v=vs.85).aspx[^]

Much of the MSDN information is relative to MFC or ATL, so you have to use their information more like psuedocode. Also, an understanding of COM and active documents will be helpful in the long run.
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900