Sign in to follow this  

VB6 Timers and threading

This topic is 4304 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
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

This topic is 4304 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this