COM in plain C

For everything that's not in any way related to PureBasic. General chat etc...
jack
Addict
Addict
Posts: 1358
Joined: Fri Apr 25, 2003 11:10 pm

COM in plain C

Post by jack »

I found this very interesting http://www.codeproject.com/com/com_in_c1.asp
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

Thanks jack.

As you say, that is very interesting!
@}--`--,-- A rose by any other name ..
Straker
Enthusiast
Enthusiast
Posts: 701
Joined: Wed Apr 13, 2005 10:45 pm
Location: Idaho, USA

Post by Straker »

Thanks Jack. Now the next obvious question, if this can be done in C, shouldn't it also be adaptable to PureBasic?
Image Image
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Excellent. Nice find.

Good coffee time reading!
I may look like a mule, but I'm not a complete ass.
User avatar
SimpleMind
Enthusiast
Enthusiast
Posts: 112
Joined: Sun May 18, 2003 12:40 pm
Location: Netherlands

Post by SimpleMind »

Straker wrote:Thanks Jack. Now the next obvious question, if this can be done in C, shouldn't it also be adaptable to PureBasic?
Search the forum. This has already been coded by AXend in PB.

http://www.purebasic.fr/english/viewtopic.php?t=7920
Give me books, fruit, french wine, fine weather and a little music.
John Keats
jack
Addict
Addict
Posts: 1358
Joined: Fri Apr 25, 2003 11:10 pm

Post by jack »

part 2 is out. :)
User avatar
SimpleMind
Enthusiast
Enthusiast
Posts: 112
Joined: Sun May 18, 2003 12:40 pm
Location: Netherlands

Post by SimpleMind »

jack wrote:part 2 is out. :)
Yes, nice stuff, Jack. This guy is really good in explaining.

http://www.codeproject.com/useritems/com_in_c2.asp
Give me books, fruit, french wine, fine weather and a little music.
John Keats
theNerd
Enthusiast
Enthusiast
Posts: 131
Joined: Sun Mar 20, 2005 11:43 pm

Post by theNerd »

SimpleMind wrote:
Straker wrote:Thanks Jack. Now the next obvious question, if this can be done in C, shouldn't it also be adaptable to PureBasic?
Search the forum. This has already been coded by AXend in PB.

http://www.purebasic.fr/english/viewtopic.php?t=7920
AXend referenced an ActiveX but he didn't make an ActiveX server.
freak
PureBasic Team
PureBasic Team
Posts: 5948
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

I have written quite a few COM implementations in PureBasic, so did El_Choni.
It was a bit hard with earlier versions, but with PB4, it is really not that hard anymore.

I have also written an extensive set of Macros to ease this, but as with all my side projects,
it got a long way, but i just did not get around to fully finish it.
Maybe someday after the v4 final, who knows...
quidquid Latine dictum sit altum videtur
User avatar
SimpleMind
Enthusiast
Enthusiast
Posts: 112
Joined: Sun May 18, 2003 12:40 pm
Location: Netherlands

Post by SimpleMind »

Search the forum. This has already been coded by AXend in PB.

http://www.purebasic.fr/english/viewtopic.php?t=7920
AXend referenced an ActiveX but he didn't make an ActiveX server.
Was this is ActiveX Server? IMHO this was just a attempt for a com example in C.
Give me books, fruit, french wine, fine weather and a little music.
John Keats
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post by Flype »

@freak

PB Library (see an other post),
Macros for COM objects,

sounds good...
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
Post Reply