|
-
March 4th, 2004, 07:23 PM
#3
Hi Sam,
here is what happened:
I want to create an Automation Control in Visual C++ 6.0.
1. I use the AppWizard to create a MFC DLL with Automation enabled.
2. I create a New Class for my Automation Interface.
3. I use the Class Wizard to create Methods and Properties.
4. I load my Automation Control in another development tool (Navision).
Everything works great until now!
5. Now I add a resource to my project, nothing more, I don't even reference it!
Now my Automation control fails with the error "Could not load the selected Type Library"
I know that the res file is temporary, but I referenced the res file because I noticed that my dll file got smaller after I added the resource, and the res file was the only file that had changed size.
I compare the two files before and after I added my resource and found that the first had a reference to "TYPELIB", but the second didn't...
Hope that explains some more...
(The Knolls, is that at the end of Av. de Los Arboles?)
Thanks for helping me out,
John
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
|