Archive for the ‘Common’ Category

1,644 views

So you want to write a service…

If you are going to write a service you should consider why you need it to be a service at all. If you can run your application as a standard user, you should do it. A service is a high privileged application that should be created with care and clear thoughts.
So think about your task [...]

421 views

Technical note

After making some changes to the A-records of the DNS servers responsible for *.delphi-jedi.net, a different host was queried by the clients (e.g. your browsers) for the contents of this blog. Obviously the other host didn’t know how to react and thus gave back a simple “no idea what file that is” (i.e. HTTP error [...]

570 views

Don’t misspell your target desktop…

If you want to use CreateProcess or CreateProcessAsUser and you also want to set the target desktop, you should make sure that the target winstation (usual winsta0) and desktop name (usual default) is spelled correctly.
If you misspell the name (say defaut instead of default - missing l ) the process creation may succeed but your [...]

546 views

Issuetracker

The JEDI Community has an issue tracker where you can submit bugs, features and fixes. Please use this tracker for both JEDI projects API and WSCL.
http://homepages.borland.com/jedi/issuetracker
Switch to project “JEDI API” in the drop down field in the top right corner of the page.

Send post as PDF to convert this post to pdf.

947 views

Header conversion of Event Tracing API for Windows

I am proud to announce the completed conversion of the Microsoft Event Tracing API for Windows (ETW).
What is ETW anyway?
MSDN says:
Event Tracing for Windows (ETW) provides application programmers the ability to start and stop event tracing sessions, instrument an application to provide trace events, and consume trace events. Trace events contain an event header [...]

712 views

Article recommendation: Code injection

I just finished reading this excellent article about code injection. However the article doesn’t go just into the “how to” stuff but also goes deeply into the organization of executable files. I have to thank Ashkbiz Danehkar for sharing his expert knowledge.
Go ahead, take your time and read Inject your code to a Portable Executable [...]

389 views

Did you know? #9

The group TrustedInstaller is not called “TrustedInstaller” but
“NT SERVICE\Trusted Installer“.
Yes with a slash and space in it.

Send post as PDF to convert this post to pdf.

3,431 views

Did you know?
ShellExecuteEx ignores the active desktop (the one that has input). It just starts the application on the default desktop (winsta0\default). However ShellExecute (without Ex) works fine with multiple desktops. Unfortunately, the last function isn’t that powerful.

Send post as PDF to convert this post to pdf.

532 views

Did you know? #8

TMessage is not TMsg!
TMessage is defined in Unit Messages and should not be mixed up with TMsg (Windows.pas) in the following case:

Send post as PDF to convert this post to pdf.

422 views

Did you know? #7

You cannot impersonate a pipe until you have read from it. Even a write call doesn’t work. So a service has to wait for a dummy client write call until it can check the client’s token.
The following codes shows how multi instance pipe server could look like. Be aware that I wrote this to show [...]

Paypal donation (EUR)

Amount:
Website(Optional):

 

October 2008
M T W T F S S
« Sep    
 12345
6789101112
13141516171819
20212223242526
2728293031