How to write an EXE which is also a COM Server in Delphi

前端 未结 2 1995
臣服心动
臣服心动 2021-01-18 13:09

I have a Delphi (2007) application which is just a standard exe, and I would like to add a COM interface to it. I already have a COM dll which exports several COM objects an

相关标签:
2条回答
  • 2021-01-18 13:37

    I'm not sure regsvr32 works, you need to run the app.exe /regserver or app.exe /unregserver.

    0 讨论(0)
  • 2021-01-18 13:43

    Is your exe exporting DllRegisterServer and DllUnregisterServer?

    0 讨论(0)
提交回复
热议问题