A
Alexander Müller
Hello!
I want to use an unmanaged class (c++) in managed code.
Unfortunately, the interface is "chatty" and not "chunky"
(read and write single values (double, int, ...) as fast
as possible).
Therefore I want to use the class with InternalCalls.
I see in the rotor source code how to declare the functions,
but I did not find how to import them (from a dll?)
and how the functions are exported. (Also, I am not sure
what constraints I have to follow.)
Is there anywhere a minimal example on how to export
and import a static and a member function as an internal
call?
Alex
I want to use an unmanaged class (c++) in managed code.
Unfortunately, the interface is "chatty" and not "chunky"
(read and write single values (double, int, ...) as fast
as possible).
Therefore I want to use the class with InternalCalls.
I see in the rotor source code how to declare the functions,
but I did not find how to import them (from a dll?)
and how the functions are exported. (Also, I am not sure
what constraints I have to follow.)
Is there anywhere a minimal example on how to export
and import a static and a member function as an internal
call?
Alex