Did you tell VB.NET to create a COM-Callable Wrapper (CCW) for your class? The COM and .NET worlds can talk to each other, but you have to make sure you set the options correctly.
Chip H.
____________________________________________________________________ If you want to get the best response to a question, please read FAQ222-2244 first
I don't use Microsoft IDE. I use SharpDevelop it is FREE tool to develop .NET application under VB and C#. But I created COM callable *.tlb using CCW delivered with Microsoft .NET SDK package.
Two strings walk into a bar. The first string says to the bartender: 'Bartender, I'll have a beer. u.5n$x5t?*&4ru!2[sACC~ErJ'. The second string says: 'Pardon my friend, he isn't NULL terminated'.
Make sure you also turn Option Strict On, and resolve any casting errors, before using your DLL from other apps, as it will greatly help in error trapping.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.