|
-
February 20th, 2003, 12:21 PM
#1
Can't Load Type Library
I am getting a compilation error when doing:
#import "myexe.tlb" raw_interfaces_only named_guids
The error that I get is:
fatal error C1084: Cannot read type library file: 'mydll.tlb': Error loading type library/DLL.
I have also tried loading the exe directly ie. #import "myexe.exe"..., and I get the same error.
I created a test app that calls LoadTypeLib(L"mydll.tlb", &ptLib). And this seems to work(it returns S_OK).
Any ideas?
Thx.
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
|