comp.os.mswindows.programmer.win32
  Home FAQ Contact Sign in
comp.os.mswindows.programmer.win32 only
 
Advanced search
July 2008
motuwethfrsasuw
 123456 27
78910111213 28
14151617181920 29
21222324252627 30
28293031    31
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007    
total
comp.os ... win32 Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  Question about disk I/O and thread scheduling         


Author: zturner0826
Date: Jul 15, 2008 20:11

Suppose I issue a request to a file from user mode. WriteFile(), for
example. Say this operation takes a long time to complete, maybe it's
writing a huge amount of data at once. In the middle of the write
operation, the OS pre-empts my thread and schedules something else.
My question is, while the other thread is running, is my write
operation still happening? Or will my write operation momentarily
pause while the other thread is running?

Thanks
1 Comment
  Re: redirecting com2 output         


Author: Richard Heathfield
Date: Jul 15, 2008 18:13

Ed Sexton said:
> I am writing a c program in which I would like to read the output from a
> second program which writes to the com2 port. Is there a way in Windows
> to redirect the com2 output to go to standard output so that I can use
> the pipe symbol to allow my program to read it with a scanf?

It's an interesting question, but one that is better answered by Windows
experts than by C experts. I've cross-posted this reply to an appropriate
Windows group (c.o.m.p.win32), and set followups to that group.

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
no comments
  Make a *.lib in VS2008         


Author: Andrew Falanga
Date: Jul 15, 2008 11:09

Hi,

As some will remember, I'm a VS neophyte and I don't know how to make
this one happen. In the General Properties for my project, I've made
it a "Static Library (*.lib)." Now, when set to, "Application...
Show full article (0.88Kb)
2 Comments
  outputting a vertical bar on the commandline         


Author: Ulrich Eckhardt
Date: Jul 15, 2008 01:59

Hi!

I'm looking for a way to output a vertical bar in a batch file. The problem
is that I either quote the output or get an error.

Example:

echo Debug|Win32

Result (translated from German):

The command Win32 was not found or is misspelled.

Example:

echo "Debug|Win32"

Result:

"Debug|Win32"

But I don't want the double quotes, so I try to use an intermediate
variable:

set CONFIG="Debug|Win32"
echo %%CONFIG:"=%%

Result:

The command Win32 was not found or is misspelled.
Show full article (0.89Kb)
3 Comments