Cообщество разработчиков на платформе Microsoft > Форумы > Visual Basic General > ATL COMC++ VB deplyoment error System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory..due to the following error: 80040154.
Задайте вопросЗадайте вопрос
 

ОтвеченоATL COMC++ VB deplyoment error System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory..due to the following error: 80040154.

  • 2 июля 2009 г. 23:02giacomo76 Медали пользователяМедали пользователяМедали пользователяМедали пользователяМедали пользователя
     
    Hi,
    I 've build a com  unmaneged c++ using atl. I used it in excel and all is fine.

    I created an application in vbnet ,, and added the com dll as reference to the project.

    THe project works fine both in debug and release mode.

    Today I have added to a setup project  and added the primary output of the vbnet application.

    If I install the app in other machines the application start, and works but when there is a call to the com dll function
    I receive the error
    system.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory..due to the following error: 80040154.

    How can I distribute the app?
    ( i tried to reg dll, adding the tlb file... and so on) . The projects are x32

    VS2008 framework 3.5 all machines xp sp3  32bit.

    I am a newbye and I should resolve this problem  by the next week!


    thanks in advance
    g.
    giacomo

Ответы

Все ответы