I guess the issue with my situation is that the .dll is c#, and it needs to call functions from the application which is in c++. I don't think i can do a dll import from that application can i?
jkr
Hm, not from an executable, but why not putting the callback inside a DLL that this executable loads?
The way our system architecture is done, this isn't allowed. What the ideal case i would think would be is to pass a function pointer to c# so that I can just call that function when the event happens.
jkr
Hmm, passing a function pointer to managed code won't work. I guess if you can't use a DLL, you'll also have to use a COM interface for that direction.