Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 484
  • Last Modified:

IE9 browser control causes C Runtime functions to sometimes fail??

We have an MFC application that uses a CHTMLView and also in a separate view references an activex control (Parallelgraphics Cortona Vrml Viewer v4.2).

A bizarre issue occurs on a system that has updated to IE9. Somehow when in the HTMLView upon right-clicking the view and hitting one of the context menu options it causes the C run-time math functions to then return incorrect values - which obviously leads to issues within our software and also apparently in the loaded 3d viewer. This is software that has worked correctly for years - it's quite bizarre.

Calls to functions such as tan() return incorrect values after right-clicking in the browser control. Any insight?

This is an application that has been built in MSVC++ 6.0.
0
SvenGoranEriksson
Asked:
SvenGoranEriksson
1 Solution
 
trinitrotolueneDirector - Software EngineeringCommented:
try calling OnUpdateUI and then proceeding with the Math function calling within this handler

Also try fiddling with the foreground I suspect there's something happening when focus is lost
0
 
James MurrellProduct SpecialistCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now