|
-
Feb 3rd, 2005, 07:09 PM
#34
Re: Hook on an API Call
Sorry I mispoke,
To recompile the APISPY32.DLL we need to compile the ASM file which means I have to dig out my MASM6.11 floppy disk and DOS disks. Once we get an OBJ file from the ASM file then I think we're OK.
But, don't you want to just play with APISPYLD.EXE? If so, the make file works for that and you can create a C++ project:
1. Create a new Win32 Application
2. Add Files APISPYLD.cpp, APISPY32.H, DebugInjector.cpp and DebugInjector.h
3. go to project settings and change settings as follows
WIN32Debug
C/C++ tab, Project Options
/MLd /W3 /Zi /D "_DEBUG" /Fp"APISPYLD.PCH" /YX /Fo"Debug/" /Fd"APISPYLD.PDB" /FD /YX/Fd"Debug/" /GZ /c
Link tab, Object/Library Modules
kernel32.lib USER32.LIB COMDLG32.LIB SHLWAPI.LIB
Link tab, Project Options
kernel32.lib USER32.LIB COMDLG32.LIB SHLWAPI.LIB /subsystem:windows /pdb:"Debug/APISPYLD.pdb" /debug
4. Then build/rebuild all
No Warnings and no Errors
You can do the same for the release version when you're ready. Get the releasse values from the make file.
...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|