Hello Communty,
is there a way to use ORCA in a .Net project (preferably C#) without writing a c++ wrapper?
I have tried several ways, but find no solution:
- PBORC170.DLL is not COM visible, so not possible using via COM interface
- directly import of PBORC170.DLL not possible
- import via [DLLIMPORT] function not possible because, DLL is written in C++, so a unmanaged language, and C# is a managed language (C# can not handle unmanaged types)
Is there perhaps a library I overlooked or exist a special .Net API?
Many thanks for your answers.
Greetings Eric
many thanks for your answer. I checked your suggestion. The dev(s) in this project call the DLLImport function as unsafe and marshal the unmanaged C++ types. This is a way, but i think not a good one. Currently i experimenting using orca via cmd-calls and svn cmd-call for scc interactions, it works but its like the other one i think its not a good way.
More as these three ways, writing a c++ wrapper, using unsafe dllimport or call via the cmdline, i found no better solution yet. So I think i will choose one of this ways.