Visit site JEDI Windows API
March 2010
0
votes
What is GetEffectiveRightsFromAcl for? #2
JEDI Windows API
– A long time ago I wrote an article about this strange WinAPI function called GetEffectiveRightsFromAcl. There was a problem that I showed how to solve (see my article and the comment in the MSDN doc). However, this function has never been a good way for retrieving the possible access mask. It seems ...
1
vote
Site Recommendation: History of Windows
JEDI Windows API
– If you are interested in the history of Windows, as I am, you should read the article The Secret Origin of Windows by Tandy Trower the product manager of Windows 1.0. This article gives a deep insight into the journey Tandy and his developers had to endure to bring a product on the market that ...
2
votes
Retrieving File Owner
JEDI Windows API
– This article is about how to retrieve the owner of a file. If you are experienced with some of the WinAPI security function this can be pretty easy. There are some problems that needs to be addressed though. The first one is the size of the security items like the SID name of the owner. Secondly, ...
2
votes
Site Recommendation: Terminal Session and Desktops
JEDI Windows API
– Many Windows Programmers still have trouble when it comes to sessions, window stations and desktops. They frequently get mixed up and we can see a lot of question on the Internet about e.g. how to spawn processes in all logged-on user desktops (rather than sessions). Hence, I have listed some ...
February 2010
2
votes
JWSCL and FreeAndNil Second Attempt
JEDI Windows API
– In my last article “Jwscl and FreeAndNil” there were some great comments on the source design. Oliver told me to use a guarded memory page so the memory is always invalid. With his information I wrote a source code that creates a pointer which always triggers an access violation. ...
2
votes
JWSCL and FreeAndNil
JEDI Windows API
– There is a lot of talking about the usage of FreeAndNil in destructors. I’ve never thought about it before so I used it quite often even in destructors. Although I don’t use it as a universal remedy function, it still seems to be a bad design: a thought shared by many leading Delphi ...
3
votes
JWSCL Features Overview
JEDI Windows API
– I had some free time that I used to put together all the features JWSCL provides currently. There are some more features that are implemented by other tool classes or functions that I left out in favor of a good overview. A complete overview of all classes, methods and more gives you the ...
5
votes
Reminder to You
JEDI Windows API
– I had some trouble writing these lines because usually I do not want to publish criticism. But Oliver told me that it would be a good idea and I don’t want to disagree . Valid for all open source projects, also the JEDI API&WSCL projects heavily depend on their users. This is not a ...
0
votes
ACTRL_ACCESS Diagram
JEDI Windows API
– I had some trouble with this rather complicated COM structure called ACTRL_ACCESS. So I post a diagram to show its design. Otherwise it would be a pity to leave it on my private hard drive. The ACTRL_ACCESS structure is used by the interface method IAccessControl::GetAllAccessRights (and others) ...
January 2010
5
votes
Programming Habits
JEDI Windows API
– I’m writing this article because I want to share programming habits with you. What habit did prove to be a good one for you? Share yours then, please. I always add “RaiseLastOsError” to every Windows API call. if not ImpersonateLoggedOnUser(token) then ...
0
votes
Bugfix in JwsclTerminalServer
JEDI Windows API
– I just commited (revision 843) a little bugfix that existed since revision 833. In TJwWTSSession.Create LocalFree was called (after StrConnect) without LocalAlloc. Since utildll.dll handles the memory allocation is it not needed at all.
2
votes
Improvements to Jwscl’s Terminal Server unit
JEDI Windows API
– I have just commited an updated version of my Terminal Server unit (revision 842) into SVN. I have done some tests on Windows 7 (a fix for Windows 7 was done in Jwa revision 830 btw) and all seems to work well. Internally the Connect method of TJwTerminalServer verifies the connection to Terminal ...
December 2009
1
vote
Windows 2003 Server Requires StartServiceCtrlDispatcher…
JEDI Windows API
– … to be called before CoRegisterClassObject, which can be called indirectly by Application.Initialize. You can see this comment at the beginning of a newly created service application. Unfortunately, today it is only half of the truth. If you like to create a DCOM server in a service, and this ...
November 2009
2
votes
Update of JWSCL 0.9.2a for Supporting Windows 7
JEDI Windows API
– I have updated JWSCL Version 0.9.2a to support Windows 7. Version 0.9.3 supports Windows 7 from the beginning but since many people use 0.9.2a, I have decided to merge Windows 7 support. You can still use 0.9.2a because bugs and problems will still be fixed (until told otherwise). However, there ...
0
votes
CreateProcess Declaration
JEDI Windows API
– If you look at the MSDN documentation of CreateProcess you might notice the following remark for the lpCommandLine parameter: The Unicode version of this function, CreateProcessW, can modify the contents of this string. Therefore, this parameter cannot be a pointer to read-only memory (such as a ...




