|
-
February 7th, 2007, 08:13 AM
#1
__missing_type__ ***???
Yee Haw ... I'm Back. 5+ long years since working with VC++ ... Now for the headache ...
I keep getting this damned compile error on __missing_type__ ... This object is a placeholder for the actual defined type in the method prototypes (which happens to be EROOTKEY - which happens to be defined in the win.tlb file). What I'm trying to figure out is why I'm getting this blasted substitution in the 1st place ... Any thoughts?
-
February 7th, 2007, 08:19 AM
#2
Re: __missing_type__ ***???
Oh yeah! This is easy... Seriously, read your post once more. Do you think it is possible to help you with the information you provided?
Regards,
Laitinen
-
February 7th, 2007, 03:07 PM
#3
Re: __missing_type__ ***???
 Originally Posted by laitinen
Oh yeah! This is easy... Seriously, read your post once more. Do you think it is possible to help you with the information you provided?
Regards,
Laitinen
Perhaps others have had this missing type happen to them ... and solved it. Right now, I have no idea of why, or under what circumstances this missing type gets substituted ... I do know that some registration has to occur in the registry to eliminate this error (i. e. this problem is fixed). But the fix itself is some black magic that I would like to shine some light on ...
I'll have to get to you on the code ... Gotta find it again.
-
February 7th, 2007, 11:52 PM
#4
Re: __missing_type__ ***???
This keyword appears when the TLB (or DLL) is imported into C++ source. If this TLB depends on other TLB, which doesn't register in system yet. The #import-processor cannot resolve the used type and replaces it with __missing_type__.
If you load your TLB(DLL) into OLE/COM Viewer, you can see the message:
---------------------------
OLEViewer 2.0 Interface Viewers
---------------------------
Could not decompile selected item
<No system message defined> TYPE_E_CANTLOADLIBRARY ($80029C4A)
---------------------------
ОК
---------------------------
What you can do is:
- load the TLB(DLL) into any HEX or binary Editor;
- find the ".TLB" and ".DLL" inside;
- register these libraries.
With best wishes,
Vita
-----------------------
Russian Software Development Network -- http://www.rsdn.ru
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|