ATL in .NET Studio...
-
Say! If I create an ATL proj in .NET studio there is "References" item in project tree, what is that and how to use it? I mean are they like in C# and VB? If yes - how to use after I add a reference?
-
Say! If I create an ATL proj in .NET studio there is "References" item in project tree, what is that and how to use it? I mean are they like in C# and VB? If yes - how to use after I add a reference?
I am not sure of the real meaning of the question, however, if you are trying to use an ATL com server in a ATL project you can use "smart pointers". Use #import directive in order to import the .tlb table then you can use these magic stuff. If you have a IFoo intf and Foo coclass:
MYCOMLIB::IFoo m_foo; m_foo.CreateInstance (__uuidof (MYCOMLIB::Foo)/*, NULL, CLSCTX_INPROC_SERVER*/); m_foo->DoSomething ();
Hope this helps. Regards, Andrea