I'm trying to embed a type library into my COM DLL so that the DLL can be used in multiple languages (specificaly, I'm trying to use the dll in
vb). I have a resource file called resource.rc, and its only contents are this line:
Code:
TYPELIB "typeLib.tlb"
I have typeLib.tlb in the same folder as the rc file (the project folder), but I get this error:
Quote:
quote:.\resource.rc(2) : error RC2135 : file not found: "TYPELIB.TLB"
|
Is there a special place I need to move the typelib to or some reference to the location I need to write to indicate where it is? Writing the full path instead of "typeLib.tlb" doesn't work either. What am I doing wrong?