Re: vb6 -v- Net!
- From: "Robert Morley" <rmorley@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 27 Mar 2007 14:11:50 -0400
Which, as I understand it, comes back to the fact that .NET is unusably slow
unless you go the unmanaged code route.
Rob
"Robert Conley" <robertsconley@xxxxxxxxx> wrote in message
news:1175017692.370892.296740@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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 Conley
- 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
- Re: vb6 -v- Net!
- From: Robert Conley
- vb6 -v- Net!
- Prev by Date: Re: vb6 -v- Net!
- Next by Date: Re: Recordset.Sort
- Previous by thread: Re: vb6 -v- Net!
- Next by thread: Re: vb6 -v- Net!
- Index(es):
Relevant Pages
|