September 19, 2003 application Fatal Error with DirectX/COM - test.zip | ||||
---|---|---|---|---|
| ||||
Attachments: | I've been trying covert an application which uses DirectSound from C++ to D and have gotten as far as having the app make a call to DirectX at which it crashes with a fatal error. The call to CreateSoundCapture seems to return successfully with a valid pointer to the IDirectSoundCapture object but calling the objects's CreateCaptureBuffer method (or any other method)causes the app to crash. Simplfied sourcecode + makefile + dsound.lib import lib is attached |
Copyright © 1999-2021 by the D Language Foundation