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.
[Update]
The fix is currently only available in the developer version repository (aka trunk) of Subversion.
08 Jan
Posted by: Remko in: JEDI Windows Security Code Lib
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 Server by reading [...]
16 Dec
Posted by: Christian Wimmer in: Common
… 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.
16 Nov
Posted by: Christian Wimmer in: JEDI Windows Security Code Lib
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.
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 const variable or a literal string). If this parameter is [...]
Have you every wondered why 16bit applications cannot run on 64bit?
There is a design pattern called Singleton that usually applies only to classes. But imho it can also be applied to applications to prevent the user from starting several instances of the application. I came along this article on DelphiAboutCom which shows how to create a single instance application. Unfortunately it doesn’t work.
Windows 7 is released but its version is called 6.1 instead of 7. Well, the reason behind this is experience.
23 Sep
Posted by: Christian Wimmer in: Common, JWA Downloads, JWSCL Downloads
JEDI Windows API (JWAL) and JEDI Windows Security Library (JWSCL) are now available in version 2.3 and 0.9.3. They support Delphi 2010.
You can download them or use the new Subversion branches.
29 Aug
Posted by: Christian Wimmer in: Common, JEDI Windows API Headers
There is an interesting article about checking the version of the operating system. If you are too lazy to read it then just remember this: Do not check it at all!
Well, I changed my mind. You should read it! So go to Yochay Kiriaty’s Article, read it and then get back her for the [...]