COM question

  • Thread starter Thread starter sdf
  • Start date Start date
S

sdf

Ok, I'm bad with COM, and I'm really lost here:

I built a project in C#, it's a DLL that references other COM DLLs. I
build and run it on my own system and it works fine. But when I copy the
project output over to another system and run RegAsm on the main .NET
assembly, I get 'Method GetIcon from blah blah blah etc. has no
implementation', and I know that it does because it's just a stub method in
my code. It's part of the interface that the main .NET assembly implements
so that my class can be used by some other software, and it's bool, so i
just return true/false(doesn't matter).
So I figure that maybe I'm missing some DLL or something. Or maybe the
version of the interface on the remote machine has a different signature for
GetIcon(), so it doesn't notice my method?

Anyone able to point me in the right direction,

Nick
 
With COM, you have to run regsrv32.exe (think I spelled that correctly) on
each COM DLL prior to regasm on the .NET DLL. Then, you should be fine.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
 
Back
Top