Archive for the ‘JEDI Windows API Headers’ Category

This is the road map of JWA and JWSCL for the year 2008. Add and test Rudy Velthuis headers for Delphi to JWA (done but needs review) Implement COM interfaces and classes for JWSCL Implement new Winsta (Terminal Service) declarations for JWA and JWSCL Convert embedded source documentation to Doc-o-Matic (of course buy that nice [...]

Using Windows Contacts

Since Windows Vista, a new API called Windows Contacts (WC) was born. It replaces the Windows Address BookAPI. You can get your personal properties by using the Windows Address Book Editor. It can be opened using “wab” in command line.

Exception swallowing

In this blog entry “Why JWSCL mainly uses exceptions instead of returned error values” I told you why JWSCL uses mainly exceptions instead of return values. However this design also have problems. A bad programmer may simply swallow the exception like this:

Unfortunately Borland didn’t implement a public register and start function into the class TServiceApplication. So we have to do it ourselves. First we publish the protected RegisterServices function to allow (un-)install our service(s) programmatically.

Do you need help? We can support you creating application using JWA and/or JWSCL. Visit the Get Service site on SourceForge for more information like pricing.

  • Comments Off

The BlockInput function blocks the user’s input. However this worked in Windows XP and older but not more in Windows Vista. Now the process must run with Administrator privileges or be in the SYSTEM account. Additionally JwaWinAble.pas reports about this function: This returns FALSE if the caller doesn’t have permissions to do this esp. if [...]

There are many error messages in a Windows System. Actually a MSDN article describes them – or better: part of them. However they weren’t enough for me, so I decided to get all of them.

1. Run your command line elevated by typing this. runel cmd 2. Did you ever try to get an elevated Windows Explorer? This command line starts Windows Explorer as a seperate and elevated process. runel explorer /separate 3. more to come…

Maybe you know this version of a folder browser dialog box that can be created by SHBrowseForFolder. For standard users or users who just put everything in one folder, is this dialog very good to use. However there are also users out there who have a deep directory structure and hate such dialogs, because you [...]

How to get the threads of a process?

Yesterday, I described how to get the process of a window. Today I show you how to obtain the threads of a process. There are two ways to retrieve all the threads of a foreign process. Use the Tool Help Library. There is also a sample about enumerating threads. So I am not going to [...]

Paypal donation (EUR)

Archives

 

May 2012
M T W T F S S
« Oct    
 123456
78910111213
14151617181920
21222324252627
28293031