FarPROC

  • Thread starter Thread starter David Moreno
  • Start date Start date
D

David Moreno

I'm integrating a third party API to my c# app.

I have a funciont like this:

int FAR PASCAL funcSetUpCallBack(unsigned long dwEvent,FARPROC
funcImageCallBack)

How do I have to import it so i can subscribe to an especific event
and trigger a C# mthod in that moment?


David Moreno
 
David said:
I'm integrating a third party API to my c# app.

I have a funciont like this:

int FAR PASCAL funcSetUpCallBack(unsigned long dwEvent,FARPROC
funcImageCallBack)

How do I have to import it so i can subscribe to an especific event
and trigger a C# mthod in that moment?

David Moreno

Unless the is a way that I'm not aware of, you will have to wrap it w/ a
managed C++ wrapper to handle the callback, and translate that to an event.
 
Back
Top