excel-d v0.0.1 - D API to write functions callable from Excel

Atila Neves via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Tue Mar 21 02:34:37 PDT 2017


On Tuesday, 21 March 2017 at 00:25:46 UTC, Steven Schveighoffer 
wrote:
> On 3/20/17 4:09 PM, Atila Neves wrote:
>> http://code.dlang.org/packages/excel-d
>>
>> This dub package allows D code to be called from Excel. It uses
>> compile-time reflection to register the user's code in an XLL 
>> (a DLL
>> loaded by Excel) so no boilerplate is necessary. Not even 
>> `DllMain`! It
>> works like this:
>
> If I wanted to replace our horrifying web queries from Excel 
> with this, I'm assuming I could? That would be awesome.
>
> -Steve

Sure, you can do whatever you want as long as you can write it in 
D  ;)

The only thing to really watch out for is blocking the UI thread 
if your function takes too long. And spinning up new threads in 
the XLL itself didn't work out for me in the slightest.

Atila


More information about the Digitalmars-d-announce mailing list