mr peanut said:
Hummm, Let's think about that. Now Google has some related resources (some
of
which are for sale), and some outright misinformation (some of which is
for
sale), some unrelated resources with the terms COM and wrapper.
How to identify a resource which is reliable and immediately applicable to
the subject at hand? I like asking an expert. And what better place to
find
one than in this forum?
I'm still interested in some expert direction on this (besides go to
H...).
Sorry, I didn't mean it to be a "go to h" kind of comment so much as a hint:
Do a google search on COM Wrapper
The first result:
http://www.codeproject.com/csharp/SafeCOMWrapper.asp
CodeProject isn't always great, but it's a pretty detailed description fo a
Disposable wrapper which will give you a lot of ideas of how to do a general
wrapper, written by someone who clearly knows what he's doing.
The 5th or 6th item is here:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=281150&SiteID=1
is a post in which someone asks: "I have a unmanaged code which I want to
use in C# application...How can I create a COM wrapper to use in that
code...If someone can give some example...."
The response is this link:
http://msdn2.microsoft.com/en-us/library/ms173184.aspx
Which takes you to the MSDN Interoperability (C# Programming Guide)
If you don't consider that expert information, you're certainyl not going to
find any here.
I found all that in a quick google search when you asked the question, which
is why I asked if you had done a google search on COM Wrapper.
This isn't even my question, it's yours... I think the point Philipe made in
the follow up was precisely my point: "The MVPs are a great source, then
again doing a
bit of the legwork yourself (say, doing an advanced google group search,
targetting this NG or others like it and searching specifically for COM
wrappers or some such, since I really doubt you're the first to ever
bring it up) is definitely worth the effort.."