Recent

Author Topic: some subtle issue with Windows Server 2019  (Read 2295 times)

egsuh

  • Hero Member
  • *****
  • Posts: 1373
some subtle issue with Windows Server 2019
« on: April 10, 2024, 03:26:20 am »
I compile an application on Windows Server 2019. Sometimes the application start again when I click on controls --- checkbox or button, while running within IDE. Once restarted, it runs fine. Running compiled exe file has no problem.

The recent case this happened was at clicking checkbox. And I looked into object inspector and I set autosize property of the checkboxes to false. Then, the whole IDE shut down.

dsiders

  • Hero Member
  • *****
  • Posts: 1151
Re: some subtle issue with Windows Server 2019
« Reply #1 on: April 10, 2024, 03:32:26 am »
I compile an application on Windows Server 2019. Sometimes the application start again when I click on controls --- checkbox or button, while running within IDE. Once restarted, it runs fine. Running compiled exe file has no problem.

The recent case this happened was at clicking checkbox. And I looked into object inspector and I set autosize property of the checkboxes to false. Then, the whole IDE shut down.

So which pieces of critical information have you not provided?
Preview Lazarus 3.99 documentation at: https://dsiders.gitlab.io/lazdocsnext

Thaddy

  • Hero Member
  • *****
  • Posts: 14837
  • Censorship about opinions does not belong here.
Re: some subtle issue with Windows Server 2019
« Reply #2 on: April 10, 2024, 07:10:05 am »
Yes, that needs some code, probably. Can you provide a simple, compilable example that reproduces it?
bitrate is always calculated like this:sample rate * bitdepth * number of channels.

egsuh

  • Hero Member
  • *****
  • Posts: 1373
Re: some subtle issue with Windows Server 2019
« Reply #3 on: April 10, 2024, 09:19:39 am »
I tested it again, and it repeats consistently.

 - Open the project attached,
 - Make some changes to the code (of unit1), and Press F9,
 - Do some operation ---  What I did were:
             1) checking some of the checkboxes
             2) changed edit1.text
             3) pressed button1, and OK
 - Then I close the window by clicking top-right corner x,
 - The app window appear again --- runs again.

But here, once I close the second window, then there are no further replication.

And if I close the Lazarus IDE, reopen the project, and no change of code, then no replication.

When I run compiled exe file directly, no replication.

 

TinyPortal © 2005-2018