Unhandled Floating Point Excepiton
I work for an ERP project, and use a DLL in my project. When i call the DLL from applet code, it automatically closes the internet explorer window and a popup appears with message :
"Unhandled Floating Point Excepiton".
And then it puts a file which includes stack overflow and memory areas, register informations and which DLLs are running.
But if i just run the applet with Sun's AppletViewer program i don't get any messages and it works correctly.
Where was i wrong? What can i do to fix the problem.?
I use JDK 1.5. XP, IE7.0,....
I wrote the DLL in Borland C++ 5.
Thanks in advance...
[643 byte] By [
nagodtumua] at [2007-11-27 11:50:02]

# 1
> it automatically closes the internet explorer window...
That is an incorrect description of what is occurring.
What is occuring is that the application is exiting via a system exception (windows exception not a java exception.) That terminates the application. Which in this case is IE.
> Where was i wrong?
Something is wrong with your C/C++ code.
> What can i do to fix the
> problem.?
Figure out what the problem is in the C/C++ code (not java) and fix it.
The exception suggests you are doing something wrong with floating point math. If you are using a third party library then then probably you are pasing incorrect values to it.