Win32Shell

Jon Hylands jon at huv.com
Thu Aug 21 17:01:51 UTC 2003


Hi everyone,

I have a friend who is writing a custom application in Squeak for a
contract. He has two problems at this time:

1) He is calling an external application, compiled from C:

	Win32Shell new shellOpen: applicationName

This application is installed on a bunch of Win98 machines, and on three of
those machines, this plugin call fails, and the method returns self (a
Win32Shell) instead of an integer error number. The DLL this method calls
into exists on these machines, and appears to be the same ones. What can
cause this primitive/plugin call to fail? The application name provided is
the full path of the application exe file, including the drive letter...

2) He is doing some millisecond timing. What is the resolution of the
millisecondClockValue timer? The results he is getting are clustering
around 6 millisecond groups, which makes the entire application worthless.
Is there a more precise millisecond timer? He is using a USB joystick to
measure reaction time from a displayed stimulus on the screen.

Thanks,
Jon

--------------------------------------------------------------
   Jon Hylands      Jon at huv.com      http://www.huv.com/jon

  Project: Micro Seeker (Micro Autonomous Underwater Vehicle)
           http://www.huv.com



More information about the Squeak-dev mailing list