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 FormCodePudding user response:
DLL Form Form, but no Form interface callNormal 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 thatCodePudding user response:
Using DLL breakpoint debuggingCheck and arithmetic code