J
Jim
I have a windows application that is accessing unmanaged
code and providing a callback function that will create
events at unknown time spans. When the EventHandler
(callback function) fires it causes my program to crash or
freeze, or do strange stuff. When I remove this callback
function it works great. Problem is I need this callback
function to implement my state machine for the program so
I think I need to encapsulate this callback function into
its own process, but it takes 4 parameters. I have looked
all over the web, but cannot find a good example of this
implementation can anyone point me in a good direction?
code and providing a callback function that will create
events at unknown time spans. When the EventHandler
(callback function) fires it causes my program to crash or
freeze, or do strange stuff. When I remove this callback
function it works great. Problem is I need this callback
function to implement my state machine for the program so
I think I need to encapsulate this callback function into
its own process, but it takes 4 parameters. I have looked
all over the web, but cannot find a good example of this
implementation can anyone point me in a good direction?