2 Issues w/ PTB-3 on Windows 7 Pro

Hi folks -

I'm trying to port over some scripts that work on OSX to a machine running Windows 7. I've successfully installed 32-bit Matlab and PTB-3. However, I have 2 issues I'm currently unable to figure out:

1) Some bit of code (I've been unable to isolate it) is causing the matlab command window to come in front of the experimental window. It is blocking it, and while it doesn't crash the program, nothing seems to bring the experimental window back to the front. Anyone else seen this behavior, and have suggestions to make it stop?


2) PsychHID: After getting this error:
"Invalid MEX-file
'C:\toolbox\Psychtoolbox\PsychBasic\MatlabWindowsFilesR2007a\PsychHID.mexw32': The
specified module could not be found."

I copied the libusb-1.0.dll file to C:\Windows\System32. Still got the error. I tried running
C:\Windows\System32>regsvr32 libusb-1.0.dll
to "register" the dll. I get this error:
"The module "libusb-1.0.dll" failed to load.
Make sure the binary is stored at the specified path or debug it to check for problems with the binary or dependent .DLL files. The specified module could not be found."

What am I doing wrong?


Thanks,
Ed
Ok!

I solved issue #1 ... it was GetChar, which I am replacing w/ KbWait.

So, now issue #2 (getting PsychHID to work properly) is my main problem =)