Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. COM
  4. regsvr32

regsvr32

Scheduled Pinned Locked Moved COM
c++comwindows-adminhelptutorial
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    crewchill
    wrote on last edited by
    #1

    Hi. I was using Inside COM by Dale Rogerson book and I dont have the CD, so I kinda guess how to register the component. But when I do "regsvr32 /s Cmpnt.dll" , the entry for "InprocServer32" is garbage. Can someone help me out with this? Registry.cpp: #include extern "C" HRESULT RegisterServer(HMODULE g_hModule, const CLSID& CLSID_Component1, const char* g_szFriendlyName, const char* g_szVerIndProgID, const char* g_szProgID) { CComModule cm; return cm.RegisterClassHelper(CLSID_Component1, g_szProgID, g_szVerIndProgID, NULL, THREADFLAGS_BOTH); } cmpnt.def: ; ; Cmpnt1 module-definiteion file ; LIBRARY Cmpnt.dll DESCRIPTION '(c)1996-1997 Dale E. Rogerson' EXPORTS DllCanUnloadNow @1 PRIVATE DllGetClassObject @2 PRIVATE DllRegisterServer @3 PRIVATE DllUnregisterServer @4 PRIVATE DllMain @5 PRIVATE

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups