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.
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 [...]
20 Jul
Posted by: Christian Wimmer in: Common, JEDI Windows Security Code Lib
Some time ago, I was in the situation to set up a new computer with a Windows XP 64 CD. Well it doesn’t matter that it was 64bit. However, I always create a separate partitions for Windows XP. And because user profiles tend to get big, I moved a new user to a second partition. [...]
Frequently Given Answers written by Jonathan de Boyne Pollard is a plain html website that you may be interested in. Well, I was because it has some good points about how Windows works – and some more unrelated Windows stuff:
20 Mar
Posted by: Remko in: Common, JEDI Windows API Headers
/EDIT: I forgot to mention that he headers are included in the Jedi Apilib as JwaWdm.pas. I’m working on a new build of TSAdminEx for which I need to query the total amount of physical memory. Locally we can use the GlobalMemoryStatusEx API but there’s no API to do this remotely. It would be possible [...]
There are a lot of setups out there which just copy some files and then run the application. I often wonder why they really need Administrator rights at all. So IMO, if you want to create a setup for your product you should really consider the following question: Does your setup really need Administrator rights?
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Aug | ||||||
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | |||