Extern function definition (BASS-Lib Call)

BlitzMax Forums/BlitzMax Programming/Extern function definition (BASS-Lib Call)

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

Wow.... thank you... works great here.

My mistake was, that I gave NULL as parameter as the downloadproc and for some reason this crashed. I saw that you've created a special c function for this reason, where NULL is given by the c-source

HSTREAM bmx_bass_streamcreateurlncb( char *url, DWORD offset, DWORD flags, void *user) {
	return BASS_StreamCreateURL(url, offset, flags, NULL, user);
}


Can you explain why this is required?

Anyway, thank you, very much - you finally made my day. I have tried to get this stream-thing get to work for many hours ;-)