Hi,<br>I'm currently working on a space invaders and I'm facing a problem with Windows 7.<br><br>Given that I'm not really familiar with the concept of thread, I put my canvas' paint-callback block in a thread... like :<br>
<br> (paint-callback (lambda () <br>(thread (lambda () <br> ......functions .....<br> (send my-canvas on-paint)))))<br><br>And of course, I redefined its on-char function so I can control a ship.<br>
<br>Although the whole pack of enemies moves smoothly, the ship which I am supposed to control rarely responds to commands on <b>Windows 7</b>.<br>As for Linux... it runs fine.<br><br>I guess it has to do with the way Windows manages threads.<br>
<br>Could anyone help me with this? <br>Thanks.<br><br>Sebastien Cano<br><br>