Class not registered

后端 未结 3 1159
陌清茗
陌清茗 2021-01-25 13:19

I\'m working through \"Developer\'s Workshop to COM and ATL 3.0\" by Andrew W. Troelsen.

I\'m trying to implement the lab in Chapter 3.

It shows you how to build

相关标签:
3条回答
  • 2021-01-25 14:07

    Did you try registering the COM server with regsvr32.exe?

    0 讨论(0)
  • 2021-01-25 14:11

    Is the value of CLSID_CoCar equal to the value in your reg file? ({EFC76CF8-71B8-477b-890A-1233BD9177CB}), or have they been regenerated to different values?

    If so, have you checked that these values have been correctly merged into your registry?

    Have you called CoInitialize?

    0 讨论(0)
  • 2021-01-25 14:17

    Open a command prompt, change to your DLL's folder, and run regsvr32.exe:

    cd \Users\Steven\Documents\Visual Studio 2005\Projects\CarInProcServer\release 
    regsvr32 CarInProcServer.dll
    
    0 讨论(0)
提交回复
热议问题