I have an dll written in c++ but I cannot use it directly in c#
because it has some complex structures that is not supported by
invocation system.
Which solution is proper writing an ActiveX component or using some
unsafe code?
In second dllimport has very poor performance(I use it for exported
function that has not have complex structure argument).Loading dll
takes long time.How can I use it c#?