Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all articles
Browse latest Browse all 2504

Floating point error in TWinControl.DefaultHandler

$
0
0

Hello, dear!
There is a error in Delphi-written applications, the cause of which I can not identify.
Application is running on Windows 10 PC with ZinFrame panel. When the user moves his finger across the screen, the program crashes with error - Floating point error. It should be noted that no components and event handlers are used, just empty Form. To create a project do following: File -> New -> VCL Forms Application -> Delphi and then run this Project.
So the project is empty - the problem is in dephi components. Using debug, I found the procedure where the error occure (in module Controls):

procedure TWinControl.DefaultHandler(var Message);


Exact location of the error:

Result := CallWindowProc(FDefWndProc, WindowHandle, Msg, WParam, LParam);


I try to analize the configurations of parameters that causes error and found that it is 0x245, 0x247 Messages.
I analize MSDN and found that this messages are "Pointer Input Message Reference". So how I understand this is problem of dephi.
I test applications which are written in Delphi 10.1 and even Delphi 7. Besides I wrote simple application in C# and there is no problem! So this is problem of Delphi


Is any ideas for solving the problem?


Viewing all articles
Browse latest Browse all 2504

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>