Calling a cpp function from d

John Chapman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jun 16 05:31:21 PDT 2015


On Tuesday, 16 June 2015 at 12:26:45 UTC, C2D wrote:
> BOOL result = SHGetFolderPath(null, 0x23, null, 0, cache.ptr);

That should be:

BOOL result = SHGetFolderPath(null, 0x23, null, 0, buf.ptr);


More information about the Digitalmars-d-learn mailing list