Posted: Sat Aug 17, 2002 8:53 pm
Restored from previous forum. Originally posted by traumatic.
When i got this right, 'ProcedureDLL AttachProcess()' is used
as the DLL's entry point. AFAIK DLLEntryPoint procedures take
three parameters (handle of instance, notification code, reserved)
AttachProcess() is only called on a newly attached process, so
notification code is obsolete - but no matter how much parameters
I use (1,2,3), my app doesn't get over the entry-point.
It retrieves the hInstance however but doesn't work any further,
no matter if I'm returning #TRUE or nothing.
Using no parameters works fine but is kind of useless. (?)
Any hints on how to use AttachProcess() correctly?
TIA,
traumatic
When i got this right, 'ProcedureDLL AttachProcess()' is used
as the DLL's entry point. AFAIK DLLEntryPoint procedures take
three parameters (handle of instance, notification code, reserved)
AttachProcess() is only called on a newly attached process, so
notification code is obsolete - but no matter how much parameters
I use (1,2,3), my app doesn't get over the entry-point.
It retrieves the hInstance however but doesn't work any further,
no matter if I'm returning #TRUE or nothing.
Using no parameters works fine but is kind of useless. (?)
Any hints on how to use AttachProcess() correctly?
TIA,
traumatic