Re: Calling dll function causes program to end
- Posted by ryanj Jan 04, 2014
- 1506 views
Apparently, i needed to add a '+' to use the cdecl calling convention. Now it gives me an error instead of crashing. At least that's progress. I'm making a wrapper for portaudio. The function is Pa_OpenDefaultStream(). I seem to be calling it correctly now, but the function is returning an error code. I need to find out what error that is...