VC++ V6.0 I've written an ATL COM DLL, and I'm trying to use it from a VC++ program. I've done this once before, using Excel - all I had to do was make a wrapper class using ClassWizard, write code to use the objects and methods, and it linked just fine.
With my own COM DLL, I've generated the wrapper class as before (from the .TLB file), written the code, and it compiles... but it won't link, complaining about unresolved externals - the methods that are in the COM DLL. I'm a little bit confused as to why the Excel one linked, but my own does not - what am I missing? The Excel one does not link to any Excel-related libraries statically, so it can't be doing the linking like that. I notice Excel has OLBs, not TLBs - is this the difference? My project didn't generate OLBs - I wasn't aware I could choose which to generate in any way. Help? (Note that I am aware of smart pointers and the #import directive - will deal with that option later as an alternative, I just want to understand why this doesn't work now that I've started down this route.) -- Jason Teagle [EMAIL PROTECTED] _______________________________________________ msvc mailing list [email protected] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.
