Visit site JEDI Windows API
October 2011
6
votes

Say NO to Secure Boot for Windows Only
JEDI Windows API
– The next generations of computers implement a mechanism called “Secure Boot” to disallow malicious applications to boot themselves. However, it seems that Microsoft may use this mechanism and its market power to disable dual boot of Windows 8 with other free operating systems. More than ...
September 2011
2
votes

Slim Read/Write Lock (SRWLock) – the fast alternative to TMultiReadExclusiveWriteSynchronizer
JEDI Windows API
– Another new feature of Windows Vista is the SRW-Lock. It has some advantages compared to a critical section or the TMultiReadExclusiveWriteSynchronizer of Delphi. Lets think about it. The SRWLock was made for the case of a shared resource which will be changed from one ore more threads while there ...
6
votes

Condition Variable – the new way to wait for changes
JEDI Windows API
– With Windows Vista we got a new tool for communicating over multiple threads: condition variables. I’ll try to give you a short overview, tell you, why it is better then events and illustrate the whole theory with some code snippets. Hopefully it will be funny. :) What is a conditional ...
December 2010
0
votes

If You Don’t See It
JEDI Windows API
– If you don’t see it. The blog has a full size layout now. To use it, click the link Large on the top-right corner of the blog. I had a wow effect, do you?
November 2010
3
votes

How to Run the OnScreenKeyboard
JEDI Windows API
– There are lots of questions on the Internt how to run the OnScreen Keyboard on a Windows 64 System from a 32bit Process. Some time ago, I investigated it but due to a lack of time I didn’t finish it. Today, I want to you show the solution of this problem. From a 32Bit application, Windows ...
10
votes

Is File In Use
JEDI Windows API
– In a thread on DelphiPraxis there was a question that comes up several times a year. However, this time I could remember that there is actually an COM API that can solve the problem. The question was about how to find out which process has a lock on a file. The main problem was, in deed, that I ...
9
votes

The JEDI Wiki
JEDI Windows API
– Many people are not aware of the JEDI Wiki. This wiki is/should be a central information point around all JEDI projects. Unfortunately, this is a lot of work. Therfore, we depend on the community helping us out here. If you want to write a documentation, consider first to create an account. This ...
October 2010
6
votes

The Way WinAPI Shows Errors
JEDI Windows API
– I got an interested answer in a forum question which I participated in. The question was not about the subject of this article but instead an answer contained code that was interesting enough to write this article. The code was Delphi but it was clearly inspired by plain C code (even using goto). ...
August 2010
3
votes

Using Windows 7 Taskbar-features via components
JEDI Windows API
– Windows 7 gave us some nice and useful little eye-catchers in the taskbar. Those are available using the Windows shell interfaces ITaskbarList3 and ITaskbarList4. But alas, how can a Delphi developer incorporate these in his applications? You may read on if you ever wanted to… have this ...
5
votes

TRegistry.DeleteKey and 64bit
JEDI Windows API
– I got a bug from someone who told me that he had problems with the TRegistry method DeleteKey on his 64bit Windows. It just didn’t delete a 64bit key* from the registry although he used the KEY_WOW64_64KEY flag in desired access parameter of TRegistry.Create. At first I thought that it was a ...
July 2010
0
votes

Windows LNK Exploit
JEDI Windows API
– As you maybe have heard already. There is a shell exploit that is executed when Windows shows just the icon from a link file. MS works on it but currently you can only remove the icon handler key from the registry to be “safe”. See this link. It also tells us the impact of the action. ...
June 2010
1
vote

Useful scripts for MSVC and C++ Builder users …
JEDI Windows API
– Assarbad wrote this script some time ago to compile and link C++ projects on the command line easier. I adapted the cmd script for VC++2010 and also for C++ Builder 2009/2010 and now I have been using it for quite some time. So I wanted to give it back to the community. Feel free to use it since it ...
March 2010
2
votes

Setting Folder Security
JEDI Windows API
– This article describes some ways how to set the security on a folder using JWSCL. Usually, we want to add some rights for a particular user to a folder so she gets access. I can say that is a heck of work to do with WinAPI. But still with JWSCL we need to consider some things. The following code ...
1
vote

New JEDI News Server
JEDI Windows API
– As you maybe already know, the old news server for JEDI related questions crashed some time ago. Unfortunately, the old host could not undo the crash and thus some JEDI members created a new server (Thanks you!). The new server location is: news.delphi-jedi.org Please adapt your news reader ...
3
votes

Embarcadero Forum Access
JEDI Windows API
– If you are accessing the Embarcadero Forums and such through an Offline Reader like Mozilla Thunderbird, you probably have had a connection problem for some time now. I don’t know what the reason is. However, as a solution instead, use the address forums.embarcadero.com and don’t forget ...