when you press f5 and compile a temp .exe is created in the compilers folder inside the PB folder, place Midas.dll in there. For distribution include the Midas.dll with your .exe in the same folder.
I also encountered this problem in trying to compile one of the example programs. Searching my hard drives turned up a couple of MIDAS.DLL files, which I copied in turn to my c:\WINNT\SYSTEM32 subdirectory so as to put them in the right path. None matched the function being called for. I searched the Internet for MIDAS11.DLL, and after a couple of false leads, I found where someone had made a Zip file available. I downloaded it, unzipped it in a temporary directory, then move MIDAS11.DLL to the system folder, That worked. So for anybody that has had this problem, the solution is out there.
has-been wanna-be (You may not agree with what I say, but it will make you think).