On Friday, 8 June 2018 at 00:55:35 UTC, cc wrote:


class CImpl : CCallbackBase {
        extern(C++) {

If anyone has any insight to provide it would be greatly appreciated, thanks!

I've not used any of the C++ interfacing features yet, but my understanding is the extern(C++) has to apply to the class declaration itself, not only the member functions:

extern(C++)
class CImpl : CCallbackBase {

Does that make a difference?

Reply via email to