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

Posted on 2011-04-27
Last Modified: 2012-05-11
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.
Question by:SvenGoranEriksson
    LVL 12

    Accepted Solution

    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
    LVL 31

    Expert Comment

    by:James Murrell
    This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Internet is a big network which is formed by connecting multiple small networks.It is a platform for all the users which are connected to it.Internet act as platform in different fields. Such as: Internet  as a collaboration platform. Internet  as…
    Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
    The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
    The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now