hpesata
2010-11-05 14:02:46 UTC
Hi!
I created a MFC app using VC++ 2003.
The app uses a mfc extension dll, which uses CHtmlView to display
context-specific html information.
I realized that CHtmlView displays some html-pages different than IE8
so maybe it uses an older IE-component ?
Heres the javascript navigator obejct output for CHtmlView:
Browser CodeName: Mozilla
Browser Name: Microsoft Internet Explorer
Browser Version: 4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/
4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR
3.0.4506.2152; .NET CLR 3.5.30729)
Cookies Enabled: true
Platform: Win32
User-agent header: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;
Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR
3.0.4506.2152; .NET CLR 3.5.30729)
when I use IE8 the output looks like this:
Browser CodeName: Mozilla
Browser Name: Microsoft Internet Explorer
Browser Version: 4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/
4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR
3.0.4506.2152; .NET CLR 3.5.30729)
Cookies Enabled: true
Platform: Win32
User-agent header: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR
3.0.4506.2152; .NET CLR 3.5.30729)
is there a way to direct CHtmlView to always use the newest installed
IE-components ?
I played around with _WIN32_IE defiens but it didnt change anything.
besides I couldnt figure out where to use it, in my app or in the
extnsion-dll.
any help with this woudl be greatly appreciated,
thanx in advace!
regards,
Hans
I created a MFC app using VC++ 2003.
The app uses a mfc extension dll, which uses CHtmlView to display
context-specific html information.
I realized that CHtmlView displays some html-pages different than IE8
so maybe it uses an older IE-component ?
Heres the javascript navigator obejct output for CHtmlView:
Browser CodeName: Mozilla
Browser Name: Microsoft Internet Explorer
Browser Version: 4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/
4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR
3.0.4506.2152; .NET CLR 3.5.30729)
Cookies Enabled: true
Platform: Win32
User-agent header: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;
Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR
3.0.4506.2152; .NET CLR 3.5.30729)
when I use IE8 the output looks like this:
Browser CodeName: Mozilla
Browser Name: Microsoft Internet Explorer
Browser Version: 4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/
4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR
3.0.4506.2152; .NET CLR 3.5.30729)
Cookies Enabled: true
Platform: Win32
User-agent header: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR
3.0.4506.2152; .NET CLR 3.5.30729)
is there a way to direct CHtmlView to always use the newest installed
IE-components ?
I played around with _WIN32_IE defiens but it didnt change anything.
besides I couldnt figure out where to use it, in my app or in the
extnsion-dll.
any help with this woudl be greatly appreciated,
thanx in advace!
regards,
Hans