Re: vb6 -v- Net!
- From: "Robert Conley" <robertsconley@xxxxxxxxx>
- Date: 27 Mar 2007 10:48:12 -0700
On Mar 26, 4:01 pm, "Robert Morley"
<rmor...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Most VB.NET apps provide very slow performance. A case in point involving
someone on the NG lately who was monitoring input from some kind of USB
electrocardiogram monitor that in VB6 he was monitoring up to 300 bpm. In
VB.NET, with a LOT of tweaking, he managed to get it to 15 bpm. In other
words, if you're almost dead, this app might be of use; otherwise, it's
pretty useless in VB.NET.
Likely it is a crap Microsoft/Third Party implementation of accessing
the USB hardware. I deal with embedded control and motion control
through Classic VB and it was pretty crappy at first both for
Microsoft and Third Party Vendors. Mostly it had to do with writing
COM code that worked fast.
Now .NET is a whole new game and all that knowledge isn't really
applicable. Worse many .NET controls that vendors put in the first few
years are wrappers around COM control so now you going through two
layers instead of one.
My recommendation is use .NET Reflector and find out what the
libraries are doing. Then building a new implementation that ditches
the part that slows down direct access.
This may require using C++ to bridge between direct hardware access
and .NET. As C++ libraries has access to most of the nice embedded
libraries that allow quick access to hardware under XP.
If you use .NET reflector you will find a lot of the framework are
wrappers around different parts of the Win32 API. Y
.
- Follow-Ups:
- Re: vb6 -v- Net!
- From: Robert Morley
- Re: vb6 -v- Net!
- References:
- vb6 -v- Net!
- From: Aalaan
- Re: vb6 -v- Net!
- From: Paul Clement
- Re: vb6 -v- Net!
- From: MikeD
- Re: vb6 -v- Net!
- From: Robert Morley
- Re: vb6 -v- Net!
- From: MikeD
- Re: vb6 -v- Net!
- From: Paul Clement
- Re: vb6 -v- Net!
- From: Stefan Berglund
- Re: vb6 -v- Net!
- From: Paul Clement
- Re: vb6 -v- Net!
- From: Robert Morley
- vb6 -v- Net!
- Prev by Date: Re: Finding the location of systray (taskbar)
- Next by Date: Re: New VB User Needs Help
- Previous by thread: Re: vb6 -v- Net!
- Next by thread: Re: vb6 -v- Net!
- Index(es):
Relevant Pages
|
Loading