I have a C DLL (WIndows) and within it I hook some specific threads. But truth be told I would like to hook one enteire PROCESS. Is this possible?

There is no function (AFAIK) that allows you to hook every thread in a single process at once...

I would add the hook as part of the new thread startup procedure (either by the caller when creating the thread or just as the first thing the new thread does).

Good luck.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.