Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows NT4.0

Status
Not open for further replies.

edderic

Programmer
May 8, 1999
628
I am trying to run under WindowsNT.&nbsp;&nbsp;I get the following error.&nbsp;&nbsp;&quot;Run-Time<br>error '3421' Data type conversion error&quot;.&nbsp;&nbsp;Also the cursor is very jerky and<br>not really usable as it is.<br><br>???? Eric (its works with Windows98) <p>Eric De Decker<br><a href=mailto:vbg.be@vbgroup.nl>vbg.be@vbgroup.nl</a><br><a href= Visual Basic Forum</a><br>
 
Eric -<br><br>Are you doing any kind of 'busy loop' coding in your app?&nbsp;&nbsp;Example:<br><br><FONT FACE=monospace>do<br>&nbsp;&nbsp;&nbsp;&nbsp;Call MyWorkRoutine()<br>while (1)<br></font><br><br>That will cause your app to attempt to use all the CPU time available, and the NT task scheduler will then forcibly take CPU time away from you and give it to another task when your task's time quota is up.&nbsp;&nbsp;The DoEvents call is a much friendlier way to do this, but it sometimes causes other problems.<br><br>Chip H.<br><br>
 
Hi Eric,<br><br>Have you compiled your application on NT or on Win98? We always make a point of making the .exe on the O/S it will run on - gets rid of lots of silly errors.<br><br>Mike <p>Mike Lacey<br><a href=mailto:Mike_Lacey@Cargill.Com>Mike_Lacey@Cargill.Com</a><br><a href= Cargill's Corporate Web Site</a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top