• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 499
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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