PDA

Click to See Complete Forum and Search --> : "[restricted] Missing" in typelibrary


esaherra
Jul 12th, 2004, 02:05 AM
Hello gurus,

I'm experiencing interesting behaviour of a typelibrary
of one of my component dlls..

My project won't compile because the compiler complains
that

"The binary compatibility DLL or EXE contains a parameter type or return type whose definition can not be found"

Well.. this certainly looks familiar :o
Now, when I examine the binary compatibility dll with the OLE-viewer, I find the following stuff inserted into the MIDL output:

interface _blMymethod : IDispatch {
[restricted] void Missing7();
[restricted] void Missing8();
[restricted] void Missing9();
[restricted] void Missing10();
[restricted] void Missing11();
[id(0x6003000a)]
HRESULT MyFooMethod(
[in, out] DATE* StartDate... etc

..Lots of these "Missing"-methods get inserted to all
the interfaces (there are quite many interfaces in this dll).
This looks interesting.. What could these Missing-methods
possibly be?
It seems that when I take the dll to another machine
and view the typelibrary there, these mysterious Missing-methods
do not appear..

Could any guru give me any hints on this one that is
mysterious to (at least) me?


Thanks,

Esa