Hi all,
i have been using a self written addon to a commercial banking
application for years now without any problems. Since adding a few
changes and compiling with pb9, i get erratic crashes. I cannot
reproduce them. Sometimes it crashes three times in row, sometimes
it runs a hundred times without crash. According to the GPF box
an exception %EXCEPTION_FLT_INEXACT_RESULT occurs in the main exe
of the commerical software - and not in my dll! Yet it must be in my
code, because without it, the commercial app runs perfectly well.
I don´t use any COM here, just plain sdk style code. I cannot post
code here because it is large project (several thousand lines of
code) containing personal and sensible data.
After recompiling it with pb8 (pb8.04 to be exact) it works without
problems again. I don´t think of a compiler error in the first place,
it is more likely some badly or anbigously coded lines the new
compiler interpets different than the previous version. I thoroughly
did RTFM for pb9, but still have no idea, what could be a reason for
this.
0xC000008F = %EXCEPTION_FLT_INEXACT_RESULT = The result of a floating-
point operation cannot be represented exactly as a decimal fraction
- not what one would get normally.
I am familiar with these, know what to look for and how to handle it
%STATUS_ACCESS_VIOLATION = &HC0000005???
%STATUS_FLOAT_DIVIDE_BY_ZERO = &HC000008E???
%STATUS_INTEGER_DIVIDE_BY_ZERO = &HC0000094???
%STATUS_STACK_OVERFLOW = &HC00000FD???
But what exactly is %EXCEPTION_FLT_INEXACT_RESULT, how could it occur
what code is likely to produce such exceptions ?
Any ideas, any help appreciated,
thanks
guenther
i have been using a self written addon to a commercial banking
application for years now without any problems. Since adding a few
changes and compiling with pb9, i get erratic crashes. I cannot
reproduce them. Sometimes it crashes three times in row, sometimes
it runs a hundred times without crash. According to the GPF box
an exception %EXCEPTION_FLT_INEXACT_RESULT occurs in the main exe
of the commerical software - and not in my dll! Yet it must be in my
code, because without it, the commercial app runs perfectly well.
I don´t use any COM here, just plain sdk style code. I cannot post
code here because it is large project (several thousand lines of
code) containing personal and sensible data.
After recompiling it with pb8 (pb8.04 to be exact) it works without
problems again. I don´t think of a compiler error in the first place,
it is more likely some badly or anbigously coded lines the new
compiler interpets different than the previous version. I thoroughly
did RTFM for pb9, but still have no idea, what could be a reason for
this.
0xC000008F = %EXCEPTION_FLT_INEXACT_RESULT = The result of a floating-
point operation cannot be represented exactly as a decimal fraction
- not what one would get normally.
I am familiar with these, know what to look for and how to handle it
%STATUS_ACCESS_VIOLATION = &HC0000005???
%STATUS_FLOAT_DIVIDE_BY_ZERO = &HC000008E???
%STATUS_INTEGER_DIVIDE_BY_ZERO = &HC0000094???
%STATUS_STACK_OVERFLOW = &HC00000FD???
But what exactly is %EXCEPTION_FLT_INEXACT_RESULT, how could it occur
what code is likely to produce such exceptions ?
Any ideas, any help appreciated,
thanks
guenther
Comment