Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8052109
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T07:27:57+00:00 2026-06-05T07:27:57+00:00

I am working with a .NET 3.5 application in C# that calls some legacy

  • 0

I am working with a .NET 3.5 application in C# that calls some legacy C++ code regularly. I’ve noticed that calling into the C++ sometimes leads to an “Overflow or underflow arithmetic operation” when I mouse over an Infragistics UltraGrid that has a dropdown list. I’ve discovered that this only happens when the C++ codes does the following:

Word SavedWord = Default8087CW;
Set8087CW(0x133f); // Disable all fpu exceptions

...

Set8087CW(SavedWord);

If I comment out the last line, I no longer get the error in my .NET application. I haven’t noticed any other side effects in the rest of the application. As a quick fix, I would like to leave this line commented out. What are the consequences of disabling FPU exceptions and not resetting the control word?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T07:27:58+00:00Added an answer on June 5, 2026 at 7:27 am

    The solution is found here: “StackOverFlowException in WPF when call method from C++ library“.

    Thanks to Hans Passant for this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a .NET 2.0 winforms application that calls an ASP.NET 2.0
I have a .net application that is not working on a colleagues computer (he
I am working on an ASP.NET application that make a lot of jquery and
I just started working on an asp.net / C#.net application that is going to
Working with a Visual Basic.NET console application that features a VERY BASIC natural language
I'm working on ASP.net MVC3 Web application that is facing scalability issue. For improving
I am working on an ASP.NET web forms application that is using Forms Authentication.
I'm working on a asp.net web application and one of the requirements is that
I'm working on a client-server application (.NET 4, WCF) that must support backwards compatibility.
I am working with an ASP.NET MVC application. There is a requirement that a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.