Im doing some mp3 ripper. In really im using RealBasic to make user interface but i think that it is not important. The user interface has made by basic and rest of it is in dll which use c. I call dll functions with declare.
At the moment i have a problem that when i call the RipCD()- function in dll, user interface has freezed until the dll return a value. And in this case it really take several minutes to rip whole cd. Only if i put some messagebox to dll pop for example in every 2 sec, it refresh the user interface in the same time.

Is there any solution to dll?

It is developed by c-language but i think that many people with visual basic have had the same problem and can solve it better.