Re: best way to interface D code to Excel

2015-06-20 Thread Laeeth Isharc via Digitalmars-d-learn
On Friday, 19 June 2015 at 21:06:31 UTC, Jesse Phillips wrote: On Wednesday, 17 June 2015 at 18:35:36 UTC, Laeeth Isharc wrote: Hi. I know D has support for COM - not sure of its status. And there was a Microsoft chap who posted here a couple of years back - wonderful templated code that

Re: best way to interface D code to Excel

2015-06-19 Thread Jesse Phillips via Digitalmars-d-learn
On Wednesday, 17 June 2015 at 18:35:36 UTC, Laeeth Isharc wrote: Hi. I know D has support for COM - not sure of its status. And there was a Microsoft chap who posted here a couple of years back - wonderful templated code that made it easy to write this kind of thing. Unfortunately he

Re: best way to interface D code to Excel

2015-06-19 Thread Kagamin via Digitalmars-d-learn
On Thursday, 18 June 2015 at 11:36:50 UTC, Arjan wrote: See the 'COM in plain C' articles by Jeff Glatt which demonstrate how to do it using C. This might give you the information needed to do it using D. http://www.codeproject.com/Articles/Jeff-Glatt#articles. It's a little misleading

Re: best way to interface D code to Excel

2015-06-18 Thread Arjan via Digitalmars-d-learn
On Wednesday, 17 June 2015 at 18:35:36 UTC, Laeeth Isharc wrote: Hi. Any thoughts on the best way to write D functions that I can call from Excel? I am completely unfamiliar with Windows programming and COM (last time I wrote this kind of thing was in the mid-90s I think using xloper and

Re: best way to interface D code to Excel

2015-06-18 Thread Laeeth Isharc via Digitalmars-d-learn
Thanks to Kagamin, John, and Arjan. Decided I need to upgrade my machine to run a more usable Windows VM. Looks like Adam Ruppe has a working COM example in his github repo, so I will start with that. And I have ordered the book and will read the COM in C stuff too. Appreciate the help.

Re: best way to interface D code to Excel

2015-06-18 Thread Kagamin via Digitalmars-d-learn
http://www.amazon.com/Inside-Com-Microsoft-Programming-Series/dp/1572313498

Re: best way to interface D code to Excel

2015-06-18 Thread John Colvin via Digitalmars-d-learn
On Wednesday, 17 June 2015 at 18:35:36 UTC, Laeeth Isharc wrote: Hi. Any thoughts on the best way to write D functions that I can call from Excel? I am completely unfamiliar with Windows programming and COM (last time I wrote this kind of thing was in the mid-90s I think using xloper and

best way to interface D code to Excel

2015-06-17 Thread Laeeth Isharc via Digitalmars-d-learn
Hi. Any thoughts on the best way to write D functions that I can call from Excel? I am completely unfamiliar with Windows programming and COM (last time I wrote this kind of thing was in the mid-90s I think using xloper and C). The easiest way for now seems to be via pyxll and pyd. Wrap