Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   How to: Set a Thread Name in Native Code (https://www.delphipraxis.net/189463-how-set-thread-name-native-code.html)

DP News-Robot 15. Jun 2016 06:20

How to: Set a Thread Name in Native Code
 
This is what the Delphi*TThread.NameThreadForDebugging is based on: // // Usage: SetThreadName (-1, "MainThread"); // #include const DWORD MS_VC_EXCEPTION=0x406D1388; #pragma pack(push,8) typedef struct tagTHREADNAME_INFO { DWORD dwType; // Must be 0x1000. LPCSTR szName; // ...http://feeds.feedburner.com/~r/delph...~4/fVUjlFIaef0

More...


Alle Zeitangaben in WEZ +1. Es ist jetzt 04:56 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz