A few things to try:
midl
tlbimp
tlbexp (i think)
failing that, a fantastic way to make managed wrappers for non managed code
(COM or otherwise) is by using Managed C++
If you're proficient with C++ managed C++ will let you perfectly tune how
you expose your existing C/C++ code to the managed world. You can write
the remainder of your app in VB.NET...
--------------------[color=blue]
>From: "Robin Tucker" <r.tucker@thermoteknix.com>
>Newsgroups: microsoft.public.dotnet.languages.vb
>Subject: Re: COM object (no type library) - how do I access the interface[/color]
from VB.NET?[color=blue]
>Date: Thu, 18 Sep 2003 22:10:13 +0100
>Lines: 29
>Message-ID: <bkd6sd$kdq$1$8302bc10@news.demon.co.uk>
>References: <bkctdd$p6b$1$8300dec7@news.demon.co.uk>[/color]
<O6MKoMhfDHA.2352@TK2MSFTNGP12.phx.gbl>
<bkcuej$qgm$1$8300dec7@news.demon.co.uk>
<Orpy$ZifDHA.3248@tk2msftngp13.phx.gbl>[color=blue]
>NNTP-Posting-Host: 80.176.255.158
>X-Trace: news.demon.co.uk 1063919309 20922 80.176.255.158 (18 Sep 2003[/color]
21:08:29 GMT)[color=blue]
>X-Complaints-To:
abuse@demon.net
>NNTP-Posting-Date: Thu, 18 Sep 2003 21:08:29 +0000 (UTC)
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>X-Priority: 3
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MSMail-Priority: Normal
>Path:[/color]
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-onlin
e.de!kibo.news.demon.net!news.demon.co.uk!demon!no t-for-mail[color=blue]
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:139063
>X-Tomcat-NG: microsoft.public.dotnet.languages.vb
>
>No chance! It says it isn't a valid COM component or assembly, which, in a
>sense, I guess is true. The component won't show up in the COM tab[/color]
because[color=blue]
>it doesn't have a typelib and it isn't an automation object. My guess is[/color]
it[color=blue]
>just isn't possible and I will either have to create a C++ source file that
>will do it for me and somehow links into VB.NET or I will ditch VB.NET and
>go back to plain old C++, ATL etc.
>
>
>
>"Fergus Cooney" <filter-1@tesco.net> wrote in message
>news:Orpy$ZifDHA.3248@tk2msftngp13.phx.gbl...[color=green]
>> Hi Robin,
>>
>> Have you tried hauling in your component by adding a Reference to[/color][/color]
your[color=blue][color=green]
>> project? When I tried that (a long time ago) it said something like[/color]
>"There's[color=green]
>> no blah, blah, would you like me to create an Interop wrapper?". Yes[/color]
>please[color=green]
>> and off you go. It may not be clever enough to map all your functions but[/color]
>then[color=green]
>> again, it may.
>>
>> Regards,
>> Fergus
>> MVP [Windows Start button, Shutdown dialogue]
>>
>>[/color]
>
>
>[/color]
Matt Evans
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.