Home > Back-end >  Delphi DLL error floating point invalid operation arithmetic overflow or underflow occurs
Delphi DLL error floating point invalid operation arithmetic overflow or underflow occurs

Time:09-30

My question is:
I wrote a DLL using Delphi, calling the DLL in c #, using c # in VS debug runtime, if press the Alt key, or the return key, etc., will quote us the following error,
As long as my code and DLL links, no matter whether to call its interface, press the certain shortcuts will have this problem

An unhandled exception of type 'System. ArithmeticException' occurred in WindowsBase. DLL

Additional information: arithmetic overflow or underflow occurs in

If there is a handler for this exception, the program may be safely continued,


If it is in Delphi debugging operation, will quote us' floating point invalid operation at 0 x55ac097b '.

The great god, please give an idea how should solve!!!!!!

CodePudding user response:

Associated with buttons? What did you do the DLL Form Form

CodePudding user response:

DLL Form Form, but no Form interface call
Normal call, if I press which has the Form Form interface, window display normally, can operate normally

CodePudding user response:

Inside the IDE Settings to run the program, debug DLL will know that

CodePudding user response:

Using DLL breakpoint debugging
Check and arithmetic code
  • Related