digitalmars.D - Anybody using D's COM objects?
- Walter Bright (1/1) Jun 25 2013 Any projects using AddRef() and Release()?
- Rainer Schuetze (3/4) Jun 25 2013 Visual D uses COM quite a lot, but not the version from druntime because...
- Tavi Cacina (10/11) Jun 25 2013 Just plans. I think on Windows would be the best way to integrate
- Adam Wilson (10/11) Jun 25 2013 If you want to work against the new Windows Runtime, you'll need COM, an...
- Paulo Pinto (5/10) Jun 26 2013 Or any new Win32 APIs since Windows XP, as most of them are
- Jacob Carlborg (4/5) Jun 25 2013 Yes, DWT uses it for integrating with OLE.
- Walter Bright (3/6) Jun 25 2013 I emailed you some information about this today - if you didn't get it, ...
- Jacob Carlborg (6/8) Jun 26 2013 I have received your emails. Sometimes it's a good idea to have an email...
- Daniel Murphy (4/5) Jun 25 2013 Yes, for DirectX. I'm planning to ditch them once extern(C++) support i...
- Manu (4/9) Jun 25 2013 You don't think you'd use ARC with COM when it's available? Surely a
- Daniel Murphy (3/15) Jun 25 2013 Sure, when/if
- Jakob Ovrum (5/6) Jun 25 2013 I use it for the Microsoft Speech API (SAPI) backend for speech4d:
- finalpatch (5/6) Jun 25 2013 I use it in a pet project. ComObject is needed to manage
- =?UTF-8?B?U8O2bmtlIEx1ZHdpZw==?= (4/5) Jun 26 2013 I'm currently using it for Direct2D and Direct3D 9/10/11. Also, I have
- Andrej Mitrovic (4/9) Jul 05 2013 Are there any recent bindings to D3D/D2D for D? I remember trying some
- =?ISO-8859-1?Q?S=F6nke_Ludwig?= (7/19) Jul 07 2013 I'm using a modified version of the bindings project on dsource and
Any projects using AddRef() and Release()?
Jun 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
Jun 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/ju o/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.
Jun 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/
Jun 25 2013
On Tuesday, 25 June 2013 at 19:22:05 UTC, Adam Wilson wrote:On Tue, 25 Jun 2013 11:29:00 -0700, Walter Bright <newshound2 digitalmars.com> wrote:Or any new Win32 APIs since Windows XP, as most of them are actually COM based. -- PauloAny projects using AddRef() and Release()?If you want to work against the new Windows Runtime, you'll need COM, and additional interface IInspectable.
Jun 26 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
Jun 25 2013
On 6/25/2013 1:43 PM, Jacob Carlborg wrote:On 2013-06-25 20:29, Walter Bright wrote: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 :-)Any projects using AddRef() and Release()?Yes, DWT uses it for integrating with OLE.
Jun 25 2013
On 2013-06-25 23:06, Walter Bright wrote: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 :-)I have received your emails. Sometimes it's a good idea to have an email address which does not contain your real name, this is obviously not one of these cases. -- /Jacob Carlborg
Jun 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.
Jun 25 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...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?Any projects using AddRef() and Release()?Yes, for DirectX. I'm planning to ditch them once extern(C++) support is good enough though.
Jun 25 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:Sure, when/if"Walter Bright" <newshound2 digitalmars.com> wrote in message news:kqcnhc$1guv$1 digitalmars.com...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?Any projects using AddRef() and Release()?Yes, for DirectX. I'm planning to ditch them once extern(C++) support is good enough though.
Jun 25 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.
Jun 25 2013
On Tuesday, 25 June 2013 at 18:29:00 UTC, Walter Bright wrote:Any projects using AddRef() and Release()?I use it in a pet project. ComObject is needed to manage callbacks. Was wondering how does the COM object lifetime management works but now I realise this is actually broken in the current version.
Jun 25 2013
Am 25.06.2013 20:29, schrieb Walter Bright:Any projects using AddRef() and Release()?I'm currently using it for Direct2D and Direct3D 9/10/11. Also, I have an MIDL -> D translator for WinRT and plan to make a "language projection" for it as well.
Jun 26 2013
On 6/26/13, S=F6nke Ludwig <sludwig outerproduct.org> wrote:Am 25.06.2013 20:29, schrieb Walter Bright:Are there any recent bindings to D3D/D2D for D? I remember trying some from dsource a long while ago but it didn't work. How are you using D3D?Any projects using AddRef() and Release()?I'm currently using it for Direct2D and Direct3D 9/10/11. Also, I have an MIDL -> D translator for WinRT and plan to make a "language projection" for it as well.
Jul 05 2013
Am 06.07.2013 05:00, schrieb Andrej Mitrovic:On 6/26/13, Sönke Ludwig <sludwig outerproduct.org> wrote:I'm using a modified version of the bindings project on dsource and recently hand ported some D2D 1.1 and D3D 11.1 headers to be able to target WinRT applications, but those are still pretty much untested (will happen in the coming days). I can merge my changes back to the bindings project and make a pull request once I have finished the WinRT stuff.Am 25.06.2013 20:29, schrieb Walter Bright:Are there any recent bindings to D3D/D2D for D? I remember trying some from dsource a long while ago but it didn't work. How are you using D3D?Any projects using AddRef() and Release()?I'm currently using it for Direct2D and Direct3D 9/10/11. Also, I have an MIDL -> D translator for WinRT and plan to make a "language projection" for it as well.
Jul 07 2013