Archive for the ‘JEDI Windows API Headers’ Category

565 views

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. [...]

753 views

JWSCL and FreeAndNil Second Attempt

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.

1,907 views

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 [...]

3,219 views

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 [...]

1,094 views

I’m burning baby!

You want to burn a CD out of your Delphi application easily? Read on!

482 views

If you’re missing api headers…

Recently, I found an article about some API headers of the JEDI library. The article pointed to the very old JEDI API site
which contains FTP links to the Delphi API header units.
However the FTP server is empty and so all the links are invalid.
Luckily, you can find the most recent versions in our Download Area. [...]

2,400 views

/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 using [...]

921 views

Recently, I’ve found a bug in JWSCL. It happened that the function GetInheritanceSourceW didn’t work for me anymore. A long time ago I used this function for the last time and now again. However the strange thing was that the function returned no error but it didn’t fill a result array with expected inheritance data. [...]

1,134 views

A couple of days ago I finished a first beta of my tool TSAdminEx. If you don’t know what TSAdminEx is let me briefly introduce it:
TSAdminEx is a tool that combines functionality of several existing tools: it has the power of task manager combined with the details of Process Explorer and the Terminal Server support [...]

3,130 views

BOOL, Boolean and Integer

People may think that BOOL and Boolean are the same types in Delphi since they can just contain true and false. Right? Yes and No. They seem to be the same, however there is a little difference how these types are handled in an assignment. To see the difference we have to open up the [...]

Paypal donation (EUR)

Amount:
Website(Optional):

Archives

 

March 2010
M T W T F S S
« Feb    
1234567
891011121314
15161718192021
22232425262728
293031