Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Delphi]Program seems no response, but..

Featured Replies

I am writing a program which using ping component (ICS). While the program starts the ping command, it appears not response in windows task manager. Actually, it program is running ok. Same problem (or phenomena) occured when i use "Sleep" for the program which lets the program stop for a while. I want to know how it happend and if it's normal situation, what should i do if i want to have a stop when the program running like this, e.g. to stop ping.

Thx anyway.


  • Author

Anybody help me? cause when the program is running i can do nothing about it except ctrl+alt+del and stop it.

Whenever you use the sleep API in Windows, it will make the program feel like it is frozen. You may want to try a timer instead of using sleep, as it will not make your program become unresponsive.

  • Author

i can deal with sleep, but how about ICS component, when i am using the ping component, the whole program still remains frozen. i add a progress bar, it shows that the program is running well, but during it running, i can do nothing about it even to shut the process down.

  • 1 month later...

You have to run the component in another thread... if you run it in the main thread (the same of the GUI) then the GUI remains blocked while executing the ping, because the thread is occupied with the ping request...

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.