Yes, allowing a return value from AttachProcess() would be nice; although you can use ExitProcess_() in the AttachProcess() function. I'm not sure if this is sensible, but that hasn't stopped me doing it in the past! :)
Well honestly if you are writing a plugin for an application, its not ...
Search found 2 matches
- Fri May 23, 2008 6:26 pm
- Forum: Feature Requests and Wishlists
- Topic: Ability to write a custom DllMain routine
- Replies: 3
- Views: 1240
- Fri May 23, 2008 5:03 pm
- Forum: Feature Requests and Wishlists
- Topic: Ability to write a custom DllMain routine
- Replies: 3
- Views: 1240
Ability to write a custom DllMain routine
Hi all!
PB has support for all dll attach/detach etc. events, but returning zero from AttachProcess does not work. (According to MSDN, returning 0 from a dllmain procedure when attaching to a process makes the system unload the dll immediately and return an error for the caller, or if it's called ...
PB has support for all dll attach/detach etc. events, but returning zero from AttachProcess does not work. (According to MSDN, returning 0 from a dllmain procedure when attaching to a process makes the system unload the dll immediately and return an error for the caller, or if it's called ...