Interfacing C++ to D

ANtlord via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Apr 3 00:03:19 PDT 2017


On Sunday, 2 April 2017 at 16:03:51 UTC, FreeSlave wrote:
>
> Funny thing: If I replace interface with abstract class, it 
> works as it should.

Also I noticed that removing inheritance in library and in 
application makes unexpected results. When I try to output field 
`field` I get incorrect random value. It looks like that the 
field is got by wrong address. For clearance I created branch 
`removed-inheritance`.


More information about the Digitalmars-d-learn mailing list