![]() |
|
|||||||
| Программирование C / C++ / Visual C++ / Delphi / Visual Basic / ASM / Windows / Pascal |
|
|
Опции темы | Оценить тему |
|
|
#1 |
|
Почти участник
Регистрация: 02.02.2008
Сообщений: 1,843
Репутация: 5599
|
Имеется DLL'ка, содержащая несколько ActiveX-серверов. При регистрации DLL через regsvr32 регистрируется только один GUID.
А вопросов будет 2:
Спасибо. |
|
|
|
|
#2 |
|
Участник
Регистрация: 05.01.2010
Сообщений: 2
ICQ: 6626060 Репутация: 41
|
RankoR,
С АктивХ не работал, но вот по поводу второго вопроса скажу так: Нужно сгенерировать Interop сборку для .Net Потом решарпером посмотреть чего нагенерилось. Там будет интерфейс к твоему серверу с именами методов и параметрами :) Если нет под рукой MSDN, вот: Код:
How to: Add References to Type Libraries See Also Send Feedback Updated: November 2007 Visual Studio 2005 generates an interop assembly containing metadata when you add a reference to a given type library. If a primary interop assembly is available, Visual Studio uses the existing assembly before generating a new interop assembly. To add a reference to a type library Install the COM DLL or EXE file on your computer, unless a Windows Setup.exe performs the installation for you. From the Project menu, select References. Select the COM tab. Select the type library from the Available References list, or browse for the TLB file. Click OK. |
|
|