Ok, imagine the simplest solution in Visual Studio 2008 with framework 3.5 (OS = Win XP) where I have added a class library. Then I've added a COM Class. This COM Class is so simple, it only exposes 1 function:
Public Function SayHello() As String Return " Hello." End Function
I've build this class library, which produced the .dll and the .tlb. I see the .tlb in VB6 app's references box (which is on the same comp), so I reference it. I call SayHello, run it, and... 'automation error'.
I found an article somewhere how to make a SetUp Project and then install the .dll. After I seperatly installed the .dll using this setup project the COM component works like it should in my VB6 app.
Ok, now for my question... WHY?! Can someone please explain to me what the setup project does that I apparantly didn't.
P.S.: Just to make it clear, it worked fine with VB2005 and Framework 2.0 ... But now I can't make this simplest example project to work.