Howto Import com dll referencing a tlb?
Hi there.
I have following problem I have a COM Dll exposing some objects which
references a tlb in vc i do the following to import the dll:
#import "TDSDefines.tlb" no_namespace rename("ApprovalStatus",
"ApprovalStat")
#import "tds.dll" no_namespace raw_interfaces_only no_implementation
no_smart_pointers rename("Folder", "tdsFolder")
how can I make an interop assembly for C#
i tried following but it didn't work:
tlbimp TDSDefines.tlb /out:TDSDef.dll
tlbimp TDS.dll /out:TDS.dll /reference:tdsdef.dll
all the methods/properties which reference to the tlbdef were lost
tia, dom