Jump to content
  • Advertisement
Sign in to follow this  
Kraiger

VB6 Timers and threading

This topic is 4465 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I was curious if you had a dual processor machine and you created a program that used say, two timers running simultaneously, would Windows automatically take advantage of your dual processors or is there something special you would have to do?

Share this post


Link to post
Share on other sites
Advertisement
Well, visual basic 6 isn't the greatest language in the world. It was good for pasting together a database interface, maybe some user interfaces for hardware, but not for serious application development.

You are talking about threading, by taking advantage of multiple processors. The only way to realy do this would be to be to call the win32 API with refrences, but even then, it's horribly unsafe to do.

If you are realy serious about using basic for app development, check out VB.NET, it can do multithreading through .NET.

Share this post


Link to post
Share on other sites
Threading in VB6 is so non-supported that it crashes more often than it works.

VB6 really isn't a threadable language. Good for some simple things, hell, it can do some advanced things pretty damn well too, but threading just isn't something you can logically consider with VB6. As for VB timers, they do nothing in terms of threading, and they're not very reliable at all in terms of percision.

Share this post


Link to post
Share on other sites
Yeah, it's actually an application I would be thrown into the middle of to develop... I eventually want to move over to .NET though.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!