H
Hendrik Schober
Hi,
we have a few libraries programmed in C++ which are
accessible through C APIs. (There's a C++ API wrapping
around one of those C APIs, if that helps.) These are
well tested and work for quite a few customers. Now we
start getting requests for a C# API. Being a dedicated
cross-platform shop, we never did any .NET stuff and
have no experience in this. So here's a few questions:
From what I learnt by reading here it seems the easiest
way to expose our stuff to C# would be to wrap those
APIs wuith managed C++. Is that right?
Are there any pitfalls we need to look out for? (Like,
if you do it this way, it could be used from MC++, but
not from C#, so you better do it that way...)
Anything else we need to consider?
TIA,
Schobi
--
(e-mail address removed) is never read
I'm HSchober at gmx dot de
"A patched buffer overflow doesn't mean that there's one less way attackers
can get into your system; it means that your design process was so lousy
that it permitted buffer overflows, and there are probably thousands more
lurking in your code."
Bruce Schneier
we have a few libraries programmed in C++ which are
accessible through C APIs. (There's a C++ API wrapping
around one of those C APIs, if that helps.) These are
well tested and work for quite a few customers. Now we
start getting requests for a C# API. Being a dedicated
cross-platform shop, we never did any .NET stuff and
have no experience in this. So here's a few questions:
From what I learnt by reading here it seems the easiest
way to expose our stuff to C# would be to wrap those
APIs wuith managed C++. Is that right?
Are there any pitfalls we need to look out for? (Like,
if you do it this way, it could be used from MC++, but
not from C#, so you better do it that way...)
Anything else we need to consider?
TIA,
Schobi
--
(e-mail address removed) is never read
I'm HSchober at gmx dot de
"A patched buffer overflow doesn't mean that there's one less way attackers
can get into your system; it means that your design process was so lousy
that it permitted buffer overflows, and there are probably thousands more
lurking in your code."
Bruce Schneier