Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / Win API / March 2007



Tip: Looking for answers? Try searching our database.

WriteConsoleInput throttled on Win9x?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Karl E. Peterson - 28 Mar 2007 02:45 GMT
Hi --

Anyone have any experience with WriteConsoleInput in a console app on Win9x?  I'm
finding that while it seems to be executing flawlessly -- reports correct number of
records written, no error codes -- the results are always clamped to 15 characters.
The remainder are just lost.  Same code behaves entirely as expected on any NT
platform.

Known issue?  Any workarounds?

Thanks...   Karl
Signature

.NET: It's About Trust!
http://vfred.mvps.org

Gary Chanson - 28 Mar 2007 06:13 GMT
> Hi --
>
[quoted text clipped - 5 lines]
>
> Known issue?  Any workarounds?

   I can't reproduce your problem.  Do you have any DOS drivers loaded
which might limit the size of the input buffer (such as ANSI.SYS)?

Signature

- Gary Chanson (Windows SDK MVP)
- Abolish Public Schools

Karl E. Peterson - 28 Mar 2007 17:48 GMT
Hi Gary --

>> Anyone have any experience with WriteConsoleInput in a console app on Win9x?  I'm
>> finding that while it seems to be executing flawlessly -- reports correct number
[quoted text clipped - 6 lines]
>    I can't reproduce your problem.  Do you have any DOS drivers loaded
> which might limit the size of the input buffer (such as ANSI.SYS)?

Interesting.  Yeah, I was running ANSI.SYS as well as an old utility called VISITYPE
that supposedly expanded the buffer.  But I noted the failure before loading either,
and actually hoped those would help.  Removing them didn't remedy the situation.  I
am running in a VPC07 VM, though.  Don't have access to an actual 9x box to test on.

What I'm attempting to do is stuff the keyboard buffer right before exiting the
application, rather than feeding an active console session.  Suppose that could be a
factor?

Thanks...   Karl
Signature

.NET: It's About Trust!
http://vfred.mvps.org

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.