Access Violation when passing the result of a C function directly to a D function?

Kagamin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Sep 15 16:55:27 UTC 2017


On Friday, 15 September 2017 at 04:01:13 UTC, Timothy Foster 
wrote:
> am I required to save the result of a C function to variable 
> before passing it into another function or?

No. You probably have stack corruption. Does it crash if 
FMOD_System_Create returns ok?


More information about the Digitalmars-d-learn mailing list