pybass icon indicating copy to clipboard operation
pybass copied to clipboard

Detach process

Open mickaelmonsieur opened this issue 7 years ago • 1 comments

Hi, I already worked with bass.dll, but under Delphi 7 on Win2K, +10 years ago. I have a problem today with Python, I start on this language. I created a wx GUI, and when I press a button, an mp3 file is played. Nice! The problem is that as long as the file is not finished, the button remains pressed and the program freezes (I'm on Mac OS and the OS tells me "This program does not answer") I must definitely detach the process, but how? with a Thread? Thanks, Mickael

mickaelmonsieur avatar Feb 06 '18 13:02 mickaelmonsieur

Yes, a thread would be good idea. You can download WyliodrinSTUDIO, create a new Visual project and drag the blocks for multimedia. That should show you the code.

alexandruradovici avatar Feb 06 '18 14:02 alexandruradovici