Jump to page: 1 2
Thread overview
Anybody using D's COM objects?
Jun 25, 2013
Walter Bright
Jun 25, 2013
Rainer Schuetze
Jun 25, 2013
Tavi Cacina
Jun 25, 2013
Adam Wilson
Jun 26, 2013
Paulo Pinto
Jun 25, 2013
Jacob Carlborg
Jun 25, 2013
Walter Bright
Jun 26, 2013
Jacob Carlborg
Jun 26, 2013
Daniel Murphy
Jun 26, 2013
Manu
Jun 26, 2013
Daniel Murphy
Jun 26, 2013
Jakob Ovrum
Jun 26, 2013
finalpatch
Jun 26, 2013
Sönke Ludwig
Jul 06, 2013
Andrej Mitrovic
Jul 07, 2013
Sönke Ludwig
June 25, 2013
Any projects using AddRef() and Release()?
June 25, 2013

On 25.06.2013 20:29, Walter Bright wrote:
> Any projects using AddRef() and Release()?

Visual D uses COM quite a lot, but not the version from druntime because of http://d.puremagic.com/issues/show_bug.cgi?id=4092
June 25, 2013
On Tuesday, 25 June 2013 at 18:29:00 UTC, Walter Bright wrote:
> Any projects using AddRef() and Release()?

Just plans. I think on Windows would be the best way to integrate in a legacy code base, exposing COM objects from D. I hope the Juno COM server functionality still works (and will), even if the class allocators are deprecated in D2: https://github.com/JesseKPhillips/Juno-Windows-Class-Library/blob/master/juno/com/core.d?#L3174 .
On the client side, I try to integrate with Direct2D/DirectWrite which are COM based. I use a wrapper struct though (ComPtr!IFace), that invokes automatically AddRef/Release.
June 25, 2013
On Tue, 25 Jun 2013 11:29:00 -0700, Walter Bright <newshound2@digitalmars.com> wrote:

> Any projects using AddRef() and Release()?

If you want to work against the new Windows Runtime, you'll need COM, and additional interface IInspectable.

-- 
Adam Wilson
IRC: LightBender
Project Coordinator
The Horizon Project
http://www.thehorizonproject.org/
June 25, 2013
On 2013-06-25 20:29, Walter Bright wrote:
> Any projects using AddRef() and Release()?

Yes, DWT uses it for integrating with OLE.

-- 
/Jacob Carlborg
June 25, 2013
On 6/25/2013 1:43 PM, Jacob Carlborg wrote:
> On 2013-06-25 20:29, Walter Bright wrote:
>> Any projects using AddRef() and Release()?
>
> Yes, DWT uses it for integrating with OLE.

I emailed you some information about this today - if you didn't get it, please email me your correct email address. doob@me.com looks fake :-)

June 26, 2013
"Walter Bright" <newshound2@digitalmars.com> wrote in message news:kqcnhc$1guv$1@digitalmars.com...
> Any projects using AddRef() and Release()?

Yes, for DirectX.  I'm planning to ditch them once extern(C++) support is good enough though.


June 26, 2013
On Tuesday, 25 June 2013 at 18:29:00 UTC, Walter Bright wrote:
> Any projects using AddRef() and Release()?

I use it for the Microsoft Speech API (SAPI) backend for speech4d:

https://github.com/JakobOvrum/speech4d

The project hasn't had much time dedicated to it and is going to go through major changes, but COM for the SAPI is inevitable.
June 26, 2013
On 26 June 2013 10:45, Daniel Murphy <yebblies@nospamgmail.com> wrote:

> "Walter Bright" <newshound2@digitalmars.com> wrote in message news:kqcnhc$1guv$1@digitalmars.com...
> > Any projects using AddRef() and Release()?
>
> Yes, for DirectX.  I'm planning to ditch them once extern(C++) support is
> good enough though.
>

You don't think you'd use ARC with COM when it's available? Surely a language defined ARC that Walter is discussing would be a neat fit for COM, just as with ObjC?


June 26, 2013
"Manu" <turkeyman@gmail.com> wrote in message news:mailman.1459.1372208386.13711.digitalmars-d@puremagic.com...
> On 26 June 2013 10:45, Daniel Murphy <yebblies@nospamgmail.com> wrote:
>
>> "Walter Bright" <newshound2@digitalmars.com> wrote in message news:kqcnhc$1guv$1@digitalmars.com...
>> > Any projects using AddRef() and Release()?
>>
>> Yes, for DirectX.  I'm planning to ditch them once extern(C++) support is
>> good enough though.
>>
>
> You don't think you'd use ARC with COM when it's available? Surely a
> language defined ARC that Walter is discussing would be a neat fit for
> COM,
> just as with ObjC?
>

Sure, when/if


« First   ‹ Prev
1 2