<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font size="+1">I am using FPC 3.1.1 + Lazarus 1.9.0 running on
windows 10 (64 bit) to generate windows exe of 64 bit.<br>
<br>
I logged the timestamps before and after parent assignment in
my constructor TMyFrame.CreateWith(aForm : TForm);<br>
....<br>
MyFrame.Parent := aForm (where aForm is the main application
window).<br>
......<br>
<br>
<br>
In windows 10 (64 bit)<br>
18-12-19 00:06:10.154 Before Set parent( old parent = nil ) <br>
18-12-19 00:06:23.983 After Set parent<br>
<br>
it took 13.9 seconds<br>
<br>
In windows 7 (64 bit)<br>
<br>
18-12-19 00:07:45.916 Before Set parent( old parent = nil ) <br>
18-12-19 00:07:48.939 After Set parent<br>
it only took 3 seconds.<br>
<br>
what could possibly be the cause of the extra 10 seconds in
windows 10 ?<br>
<br>
The hardware is same. In fact, the windows 7 (64 bit) is a
virtualbox running on the windows 10, so it should be slower.<br>
<br>
Dennis<br>
</font>
</body>
</html>