Powerbasic Museum 2020-B

Webmaster: José Roca (PBWIN 10+/PBCC 6+) (SDK Forum) => COM Programming => Topic started by: James C. Fuller on November 09, 2013, 02:23:28 PM

Title: non-registered com server
Post by: James C. Fuller on November 09, 2013, 02:23:28 PM
José, (or others in the know)

  What advantages, if any, is a non-registered com server as opposed to a standard dll?

James
Title: Re: non-registered com server
Post by: José Roca on November 09, 2013, 04:27:04 PM
It depends of what you use it for. Both are standard DLLs, but one is used mainly for COM programming and the other for procedural programming.
Title: Re: non-registered com server
Post by: James C. Fuller on November 09, 2013, 05:35:57 PM
José,
  I worded that wrong.

If said (non-registered) com server was using just IUnknown for it's com objects would it make more sense just to use standard C++ classes in a standard dll for use with c++ clients or would there still be some advantage of using COM?

James

Title: Re: non-registered com server
Post by: José Roca on November 09, 2013, 06:05:26 PM
If it is going to be used by C++ clients only, you aren't going to get any advantage using COM. One of the advantages of COM is that it is a binary standard and other languages can use it.