0
0

If I pass in any sort of a long pathname to start an mp3 stream, it crashes. The weird part is that the song actually plays and the rest of the program works fine, I just get an error from Windows asking me if I want to send an error report, and when I hit no the program closes down.

I thought it might’ve just been having spaces in the path, but C:\My Music\music.mp3 worked fine.

Any ideas? I’ve tried the newest dll, and no luck there.

  • You must to post comments
0
0

Still no luck… again, it finds the file and starts playing it, which is very weird. Here’s the path I was using… I’m almost certain it’s not my code, but I’ll take another look.

C:\My Music\Really Long Path Name Here\Yay\music.mp3

Here’s one that worked:

C:\My Music\music.mp3

  • You must to post comments
0
0

Woooooooooooooooooooooow I’m stupid. I was using strcpy() later with a char array of length 32…. sorry about that! :(

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.