www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - This Week in D: Dconf Thursday summaries

reply "Adam D. Ruppe" <destructionator gmail.com> writes:
http://arsdnet.net/this-week-in-d/jun-14.html

I didn't finish Friday yet, so that will be next week, but here's 
all of Thursday's stuff! Also std.database update in there, lots 
of community announcements, and a bug list cleanup.
Jun 15 2015
next sibling parent "Laeeth Isharc" <nospamlaeeth laeethnospam.laeeth.com> writes:
On Monday, 15 June 2015 at 17:12:12 UTC, Adam D. Ruppe wrote:
 http://arsdnet.net/this-week-in-d/jun-14.html

 I didn't finish Friday yet, so that will be next week, but 
 here's all of Thursday's stuff! Also std.database update in 
 there, lots of community announcements, and a bug list cleanup.
Really very well done, and it must have been a fair amount of work. It's a rare skill these days to be able to capture the meat of what was said and all the nuances.
Jun 15 2015
prev sibling next sibling parent "Dicebot" <public dicebot.lv> writes:
Thanks a lot for this huge effort. Quality of write ups is beyond 
any expectations on my side - just reading it + looking at slides 
gives a very solid understanding of what was talked about.
Jun 17 2015
prev sibling parent reply Lionello Lunesu <lionello lunesu.remove.com> writes:
On 16/06/15 01:12, Adam D. Ruppe wrote:
 http://arsdnet.net/this-week-in-d/jun-14.html

 I didn't finish Friday yet, so that will be next week, but here's all of
 Thursday's stuff! Also std.database update in there, lots of community
 announcements, and a bug list cleanup.
Great writeup. Reading it I get to relive the conference :)
Jun 17 2015
next sibling parent reply "Laeeth Isharc" <nospamlaeeth laeethnospam.laeeth.com> writes:
On Thursday, 18 June 2015 at 05:30:13 UTC, Lionello Lunesu wrote:
 On 16/06/15 01:12, Adam D. Ruppe wrote:
 http://arsdnet.net/this-week-in-d/jun-14.html

 I didn't finish Friday yet, so that will be next week, but 
 here's all of
 Thursday's stuff! Also std.database update in there, lots of 
 community
 announcements, and a bug list cleanup.
Great writeup. Reading it I get to relive the conference :)
Hi Lionello. I wondered whether you might have had any change in thoughts about releasing your COM code (I know it might not be your choice, but no harm in asking): http://forum.dlang.org/thread/jfmohh$1i81$1 digitalmars.com This is the problem I am struggling with at the moment (related, but different): http://forum.dlang.org/thread/rzfjgdtvadlsusongzzb forum.dlang.org Laeeth.
Jun 18 2015
parent reply "Adam D. Ruppe" <destructionator gmail.com> writes:
I've done some COM stuff too, even interacting with vb and 
jscript through the IDispatch which I think will work in Excel 
too.

I'm crazy busy the next few days, but here's the code:

https://github.com/adamdruppe/com

I have to remember just how to use it to guide through but maybe 
the examples in there will help.
Jun 18 2015
next sibling parent "Laeeth Isharc" <nospamlaeeth laeethnospam.laeeth.com> writes:
On Thursday, 18 June 2015 at 12:51:12 UTC, Adam D. Ruppe wrote:
 I've done some COM stuff too, even interacting with vb and 
 jscript through the IDispatch which I think will work in Excel 
 too.

 I'm crazy busy the next few days, but here's the code:

 https://github.com/adamdruppe/com

 I have to remember just how to use it to guide through but 
 maybe the examples in there will help.
Thanks very much for this, Adam. Had somehow completely forgotten, although I had bookmarked it. Laeeth.
Jun 18 2015
prev sibling parent reply "Laeeth Isharc" <laeethnospam nospam.laeeth.com> writes:
On Thursday, 18 June 2015 at 12:51:12 UTC, Adam D. Ruppe wrote:
 I've done some COM stuff too, even interacting with vb and 
 jscript through the IDispatch which I think will work in Excel 
 too.

 I'm crazy busy the next few days, but here's the code:

 https://github.com/adamdruppe/com

 I have to remember just how to use it to guide through but 
 maybe the examples in there will help.
Thanks for this. The original windows api header port has disappeared from the original source, but I used Rikki Cattermole's fork. Worked fine, except I had to change const for GUID in a couple of places. Do you have any thoughts on automating the generation of IDL files? If I understand correctly, I need these to be able to call a COM object from a dynamic language like VB. Or did you just generate these by hand when you called from javascript ? Laeeth
Jun 21 2015
parent reply "Adam D. Ruppe" <destructionator gmail.com> writes:
On Monday, 22 June 2015 at 06:01:35 UTC, Laeeth Isharc wrote:
 Do you have any thoughts on automating the generation of IDL 
 files?
I didn't need them, the mixin IDispatchImpl bit (example here: https://github.com/adamdruppe/com/blob/master/example/chello.d ) gave enough that the dynamic languages could call it through that interface. With IDispatch, they ask for functions by name string and pass the arguments, and it needs to forward. With the mixin, it uses reflection to generate those mappings and use it that way.
Jun 22 2015
parent "Laeeth Isharc" <nospam nospamlaeeth.com> writes:
On Monday, 22 June 2015 at 12:09:46 UTC, Adam D. Ruppe wrote:
 On Monday, 22 June 2015 at 06:01:35 UTC, Laeeth Isharc wrote:
 Do you have any thoughts on automating the generation of IDL 
 files?
I didn't need them, the mixin IDispatchImpl bit (example here: https://github.com/adamdruppe/com/blob/master/example/chello.d ) gave enough that the dynamic languages could call it through that interface. With IDispatch, they ask for functions by name string and pass the arguments, and it needs to forward. With the mixin, it uses reflection to generate those mappings and use it that way.
Okay. I have spent half a day on this, read comhelpers.d, reread your cookbook, and I am still stumped. How do I generate the type library and registry entries? At the moment the D examples work (I built as per instructions and registered via regsrv32), but the Object Browser in Visual Studio cannot find the COM object, and neither can Python or VBA. Calling either by name or by the GUID. It looks to me like these will need type libraries to be generated and added to the registry. But it sounds like you didn't need that to call from dynamic languages. So what am I missing?
Jun 22 2015
prev sibling parent "Adam D. Ruppe" <destructionator gmail.com> writes:
On Thursday, 18 June 2015 at 05:30:13 UTC, Lionello Lunesu wrote:

Awesome, thanks, I'll edit it in! I think I'll do a special edition that brings all the dconf stuff together in a few weeks too. If you've already read it ongoing, there will be little new (hopefully video links though), but perhaps it will be something we can post to a wider audience.
Jun 18 2015