On Sunday, 24 April 2011 at 22:09:24 UTC, Kagamin wrote:
Andrej Mitrovic Wrote:

But trying to use functions which take parameters will fail with an access violation, probably because D uses stdcall for COM methods, while these ASIO COM methods need to be called with 'thiscall' convention.

COM uses stdcall convention. Everything else is not COM.

Ignore the fool, mark your functions extern(C++) and it will work. IUnknown uses extern(Windows) while ASIO uses extern(C++) for some reason. It may not be COM in the eyes of God... I mean Kagamin, though.

Reply via email to