detours

ProxyDLL using Detours

Hi, I want to embed a button in MSN Messenger. I have identified some resources but all the codes are in C++. I want to make a proxyDLL using msacm32.dll and attach my dll using Detours. Can someone help me. Thanks ...

Using detours for hooking writing text in notepad

Hi all. I'm trying to use detours to hook text output for example in notepad. I wrote the following code. I will not put here all code, but the most significant parts. DLL part: DLLEXPORT LRESULT CALLBACK CBTProc(int nCode, WPARAM wParam, LPARAM lParam) { if (nCode < 0) { return CallNextHookEx(0, nCode, wParam, lParam); } if (n...

C - Calling functions from external process without exported functions

Hey guys, I am trying to figure out how I can call a function without having it being exported. Okay so I have an exe file with "add" defined in it, This exe is a win32 console application and loads a DLL. The DLL also aims to use the add function from the exe file ( without exports ) Here is my main win32 console application file: #i...

Building 32-bit Detours library

Hey, I'm using Detours library from microsoft, and I was using the 32bit version (which is free). I'm now on a 64-bit installation of windows 7 and I can't seem to compile Detours with nmake. Here is the error: Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 Copyright (C) Microsoft Corporation. All rights reserved. ...