Introduction - If you have any usage issues, please Google them yourself
Display a Web Page in a Plain C Win32 Application:
There are numerous examples that demonstrate how to embed Internet Explorer in your own window. But these examples typically use Microsoft Foundation Classes (MFC), .NET, C#, or at least the Windows Template Library (WTL) because those frameworks have pre-fabricated "wrappers" to easily give you an "HTML control" to embed in your window. If you re trying to use plain C, without MFC, WTL, .NET, C#, or even any C++ code at all, then there is a dirth of examples and information how to deal with OLE/COM objects such as IE s IWebBrowser2. Here is an article and working example in C to specifically show you what you need to do in order to embed IE in your own window, and more generally, show you how to interact with OLE/COM objects and create your own objects in plain C.
Packet : 7941935cwebpage.zip filelist
cwebpage/CWebPage.c
cwebpage/CWebPage.dsp
cwebpage/CWebPage.dsw
cwebpage/CWebPage.plg
cwebpage/dll/cwebpage.h
cwebpage/dll/dll.c
cwebpage/dll/dll.def
cwebpage/dll/DLL.dsp
cwebpage/dll/DLL.dsw
cwebpage/dll/DLL.plg
cwebpage/dll/example/cwebpage.dll
cwebpage/dll/example/example.c
cwebpage/dll/example/Example.dsp
cwebpage/dll/example/Example.dsw
cwebpage/dll/example/Example.plg