StrSafe.h converted for JEDI API

We are proud to announce the conversion of StrSafe.h header: JwaStrSafe.pas conversion is now available through the JEDI API Lib subversion repository. You can also get the header here (only temporary). What is JwaStrSafe.pas ? StrSafe defines safer C library string routine replacements. These are meant to make C a bit more safe in reference [...]

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.

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

It is impossible to use SetThreadDesktop and the VCL at the same time because a thread can only show windows on one desktop at a time. However VCL is not written for the use with multiple threads, so there is no way to show Delphi forms of same process on two different desktops. SetThreadDesktop describes [...]

How to get the process of a window?

This answer is very easy – just use GetWindowThreadProcessId JWA declares it as followed: function GetWindowThreadProcessId(hWnd: HWND; lpdwProcessId: LPDWORD): DWORD; stdcall; The function returns an identifier (not a handle) and also may set lpdwProcessId to the identifier (again not a handle!) if it is not nil. Be aware that identifiers aren’t handles, so you must [...]

The people from Microsoft decided that the user has to be in full control over the computer. So there is no assured way to make a program user resistant. She can always use TerminateProcess to forcibly kill the process.

Dear visitor, This page is all about the Joint Endavour of Delphi Innovators – JEDI. So what we are talking about is all about Delphi and the Windows API. There are plenty articles about C, C++, C# and Visual Basic which describes WinAPI problems everywhere over the Internet. The JEDI API Library (JWA) contains many [...]

How to submit header conversions

Please read this “How to” before submitting any Header Conversions to us. Then you can submit the headers to us by mail.

Article about WinAPI programming

I found this very old but still good article about how to use the Windows API. These are the subjects: Part I: The Primer Windows API calls are just calls to dynamic link libraries Loading a dynamic link library Dynamic loading at runtime Resource only dynamic link libraries Stack usage and dynamic link libraries Callback [...]

How create an API conversion?

Please refer to this documentation if you want to supply a header conversion!

Paypal donation (EUR)

Archives

 

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