Visit site JEDI Windows API

March 2010

0
votes
Vote UpVote

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 ...
Details Favorite? Off-Topic? Christian Wimmer @ 2010-03-13 21:04
1
vote
Vote UpVote

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 ...
Details Favorite? Off-Topic? Christian Wimmer @ 2010-03-12 23:13
2
votes
Vote UpVote

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, ...
Details Favorite? Off-Topic? Christian Wimmer @ 2010-03-11 13:52
2
votes
Vote UpVote

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 ...
Details Favorite? Off-Topic? Christian Wimmer @ 2010-03-05 18:24

February 2010

2
votes
Vote UpVote

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. ...
Details Favorite? Off-Topic? Christian Wimmer @ 2010-02-25 19:48
2
votes
Vote UpVote

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 ...
Details Favorite? Off-Topic? Christian Wimmer @ 2010-02-25 11:54
3
votes
Vote UpVote

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 ...
Details Favorite? Off-Topic? Christian Wimmer @ 2010-02-22 12:43
5
votes
Vote UpVote

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 ...
Details Favorite? Off-Topic? Christian Wimmer @ 2010-02-15 18:28
0
votes
Vote UpVote

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) ...
Details Favorite? Off-Topic? Christian Wimmer @ 2010-02-11 12:08

January 2010

5
votes
Vote UpVote

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 ...
Details Favorite? Off-Topic? Christian Wimmer @ 2010-01-14 16:45
0
votes
Vote UpVote

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.
Details Favorite? Off-Topic? Remko @ 2010-01-13 12:43
2
votes
Vote UpVote

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 ...
Details Favorite? Off-Topic? Remko @ 2010-01-08 15:38

December 2009

1
vote
Vote UpVote

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 ...
Details Favorite? Off-Topic? Christian Wimmer @ 2009-12-16 10:50

November 2009

2
votes
Vote UpVote

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 ...
Details Favorite? Off-Topic? Christian Wimmer @ 2009-11-16 13:06
0
votes
Vote UpVote

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 ...
Details Favorite? Off-Topic? Remko @ 2009-11-11 21:40
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Delphi Tage Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)