T
TN
I have a bit of C code, that creates an instance of a .Net class that
has been built as a type library. Everything is working as expected, I
can pass strings to methods in the object. What I would like to also do
is pass a pointer to C function to one method to store it as a callback,
then later have another method call that callback. I know this is not a
"safe" operation, but I am wondering if it can be done. If not what
other methods do I have to implement a callback to C code from a .Net
class that is a type library?
Thanks much.
has been built as a type library. Everything is working as expected, I
can pass strings to methods in the object. What I would like to also do
is pass a pointer to C function to one method to store it as a callback,
then later have another method call that callback. I know this is not a
"safe" operation, but I am wondering if it can be done. If not what
other methods do I have to implement a callback to C code from a .Net
class that is a type library?
Thanks much.