Delphi translation by Thomas Mueller of a C++ Builder fix [WayBack] listview – TListView detecting ESC or unchanged editing – Stack Overflow
Via [WayBack] TListView detecting ESC or unchanged editing – Thomas Mueller (dummzeuch) – Google+
–jeroen
Posted by jpluimers on 2018/07/05
Delphi translation by Thomas Mueller of a C++ Builder fix [WayBack] listview – TListView detecting ESC or unchanged editing – Stack Overflow
Via [WayBack] TListView detecting ESC or unchanged editing – Thomas Mueller (dummzeuch) – Google+
–jeroen
Posted in Delphi, Development, Software Development | Leave a Comment »
Posted by jpluimers on 2018/07/05
Paul TOTH figured this out:
you can use any Linux API but it’s not trivial.
- you have to install the “dev” library under Llinux, like “apt-get install xxx-dev” for the xxx API
- you have to update the Linux DSK in Delphi
- you can declare the API as externals function as usual
- now you can compile and deploy the application.
If you miss the steps 1 or 2 you’ll have a linker error.
Source: [WayBack] Dear… Delphi 10.2 Tokyo, can i use linux api directly? like ‘fcntl(….)’.
And there is this great blog post that I found later by [WayBack] Allen Drennan: [WayBack] Importing third-party Linux libraries on Delphi 10.2 Tokyo – grijjy blog
–jeroen
Posted in Delphi, Delphi 10.2 Tokyo (Godzilla), Development, Software Development | Leave a Comment »
Posted by jpluimers on 2018/07/05
While updating some old code fiddling with the[WayBack] GetThreadId function, I wanted to have some TThread wrapper around it. I had totally forgotten there has been already a means for this since Delphi 2009 (which initially had a bug, but that was worked around at first and fixed later): [WayBack] CurrentThread.
The latest version of Delphi, Delphi 2009, has a
CurrentThread
class property on theTThread
class.This will return the proper Delphi thread object if it’s a native thread. If the thread is an “alien” thread, i.e. created using some other mechanism or on a callback from a third party thread, then it will create a wrapper thread around the thread handle.
20081001 at 5:00 – [WayBack] Barry Kelly
Sources
–jeroen
Posted in Delphi, Delphi 10 Seattle, Delphi 10.1 Berlin (BigBen), Delphi 10.2 Tokyo (Godzilla), Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Delphi XE7, Delphi XE8, Development, QC, Software Development | Leave a Comment »