Tag Archives: Windows

(C#) C# LINQ & Extension method continued

Also extended C# LINQ and Extension method (simple) to include the last (MAX) Date Created property, added a new Folder class (model) with properties and included them in a List. Also, amended the LINQ statement to get the MAX(Date Created) .

Posted in C# | Also tagged , , , , | Leave a comment

Hooking with the Microsoft Detours library in C++

The DLL Injection example described how to inject a DLL into an existing process. The snippets below demonstrate a combination of hooking and DLL injection in C++ with the Microsoft Detours library. Quote: In computer programming, the term hooking covers a range of techniques used to alter or augment the behavior of an operating system, [...]

Posted in C++ | Also tagged , , , , , , , , , , , , , , , | 5 Comments

DLL injection in C++

DLL injection in Windows can be used to inject a DLL into a process and to take over/extend functionality. For example, the distribution platform Steam uses DLL injection for the game overlay.

Posted in C++ | Also tagged , , , , , , , , , , , , | 5 Comments

(C++) Reliably Checking Windows Bitness (32-bit or 64-bit)

See on the source (url)

Posted in C++ | Also tagged , , , , , | Leave a comment

(C#) Windows Forms Keyboard Shortcut on Control

Easily create Windows Forms Shortcuts with this class. For example: A shortcut to catch pasting via Ctrl + V. Shortcut sc = new Shortcut(this, new Action(() =>  MessageBox.Show(“Data pasted!”))); sc.Keys.Add(Keys.ControlKey); sc.Keys.Add(Keys.V);

Posted in C# | Also tagged , , , , , , , | Leave a comment