Ive seen this for the first time in some dll:
#pragma data_seg (".HookSection")
// Shared instance for all processes.
HHOOK hHook = NULL;
#pragma data_seg ()
What is the purpose of data_seg
? Can someone explain this to me in simple wording?
Thank you for your time.
Look at this:
you can name a segement where the data is stored. At the moment a can't think of any use for that.
No, it does not share data across processes (by itself, you have to do more to achieve that, like memory mapping that section. If that is actually possible. I don't know)
Topic archived. No new replies allowed.