Theos PowerBasic Museum 2017

Archive => Discussion - Legacy Software (PBWIN 9.0+/PBCC 5.0+) => Topic started by: Gérôme Guillemin on February 04, 2009, 09:44:37 PM

Title: Any C sample code that exposes how to make a COM DLL with IUnknown Interface?
Post by: Gérôme Guillemin on February 04, 2009, 09:44:37 PM
Hello,

I'm looking for a simple sample that will expose how to make a simple COM DLL in C with an IUnknown Interface with at least 2 basic functions.
Does anyone has such a code please?

Thanks in advance :)
Title: Re: Any C sample code that exposes how to make a COM DLL with IUnknown Interface?
Post by: José Roca on February 04, 2009, 09:57:54 PM
See this article: COM in plain C

http://www.codeproject.com/KB/COM/com_in_c1.aspx
Title: Re: Any C sample code that exposes how to make a COM DLL with IUnknown Interface?
Post by: Gérôme Guillemin on February 04, 2009, 10:34:46 PM
Thanks José :)
It's an excellent article in pure plain C as I expected :)
Thanks again!