I was surprised it didn't catch the error as well. Usually when I mismatch
the method signatures, that's the error I get as well. I also have gotten a
helpful "Object module needs to implement '<methodname>' for interface
'<interfacename>' when some implementations didn't match.
Both the interface and the concrete class are in the same project, an
activex dll.
What's even weirder is that I decided to try to reintroduce the errors to
see if I could get it to fail again. (I know I said I wasn't going to try,
but curiosity got the better of me). No matter what I did, I could not get
it to fail. I set up missing members all over the place, and mismatched
signatures, byref/byval and datatypes - everything I know I changed. I got
the errors I expected to get where I expected to get them, but the strange
error would not appear.
I think this is one of those times where you tell yourself you're glad the
problem is gone, then you tiptoe quietly away ;-)
--
Jeff Mason Custom Apps, Inc.
Jeff@c...
-----Original Message-----
From: Marco Straforini [mailto:marco.straforini@c...]
Sent: Thursday, January 23, 2003 7:00 PM
To: professional vb
Subject: [pro_vb] RE: Error in interface?
Hey no problem, my pleasure.
I am just surprized that VB did not catch the error. Usually I get the
'the class method does not match the implementation class' or
something like that...
Glad you fixed the problem, but still the missing byval-byref catch
puzzles me... are the classes in the same project?
Marco