On Wednesday, 16 September 2015 at 16:08:47 UTC, Taylor
Hillegeist wrote:
export extern (Windows) void SayHello(Variant *Input_Variant)
{
string A = "HELLO WORLD!";
Input_Variant.CA_VariantSetCString(A.ptr);
}
So I made a terrible error. Looking at
http://lunesu.com/uploads/ModernCOMProgramminginD.pdf
of the http://dlang.org/interface.html page I was given the
impression that std.variant was a transparently equivalent to the
com VARIANT. however:
std.variant != VARIANT for com
if anyone knows how to easily convert between the two i would be
happy to know.
I did find a nice library for VARIANT:
https://github.com/JesseKPhillips/Juno-Windows-Class-Library