Hi,
I am currently trying to write a program to implement a communication
protocol using WIN32 APIs on Windows NT 4.0. For this purpose it is required
for me to read the parity bit of the Line Status Register when receiving
data.
The only way I could think of doing this was using by using
IOCTL_SERIAL_LSRMST_INSERT code and enabling the LSRMST INSERT mode so that
LSR information will be in the data stream read by ReadFile. Unfortunately
for some reason this doesnt seem to work according to how it is
documented.
If anybody has used this function before can you please give me some tips as
to what I might be doing wrong???
Also are there any other methods by which I can read the LSR on NT???
Thanks .
Sam
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
Hi,
Looking in the documentation,
i'm told to add this switch (in wine.conf !! that 's
pretty old ) :
printer=on, at [wine] section.
Wine then says : Line 81: Unrecognized input'
printer=on'
I have last cvs version (01/14/2002) and the doc
output is in documentation/wine-doc/printing.html,
generated by 'make documentation'.
Could someone help ?
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Courrier : http://courrier.yahoo.fr
dlls/ntdll/cdrom.c revision 1.1 per
date: 2002/01/13 01:44:00; author: julliard; state: Exp;
Eric Pouech <eric.pouech(a)wanadoo.fr>
Changed the Wine internal cdrom interface to the NT model.
causes the following build failure on FreeBSD 4.4 (even though the
code in question is embedded in "#elif defined(__FreeBSD__)"):
/usr/bin/gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o cdrom.o cdrom.c
cdrom.c: In function `CDROM_ControlEjection':
cdrom.c:172: `CDIOPREVENT' undeclared (first use in this function)
cdrom.c:172: (Each undeclared identifier is reported only once
cdrom.c:172: for each function it appears in.)
cdrom.c: In function `CDROM_ReadQChannel':
cdrom.c:414: structure has no member named `track_info'
cdrom.c:438: `AUDIO_STATUS_IN_PAUSED' undeclared (first use in this function)
cdrom.c:440: `CD_AS_PLAY_AUDIO_COMPLETED' undeclared (first use in this function)
cdrom.c:453: structure has no member named `position'
cdrom.c:454: structure has no member named `position'
cdrom.c:455: structure has no member named `position'
cdrom.c:456: structure has no member named `position'
cdrom.c:457: structure has no member named `position'
cdrom.c:460: structure has no member named `position'
cdrom.c:461: structure has no member named `position'
cdrom.c:462: structure has no member named `position'
cdrom.c:464: structure has no member named `position'
cdrom.c:465: structure has no member named `position'
cdrom.c:466: structure has no member named `position'
cdrom.c:471: structure has no member named `media_catalog'
cdrom.c:472: structure has no member named `media_catalog'
cdrom.c:473: structure has no member named `media_catalog'
cdrom.c:477: structure has no member named `track_info'
cdrom.c:478: structure has no member named `track_info'
gmake[2]: *** [cdrom.o] Error 1
gmake[2]: Leaving directory `/.amd_mnt/vexpert/files8/test/wine/dlls/ntdll'
gmake[1]: *** [ntdll/libntdll.so] Error 2
Gerald
Patrik Stridvall wrote:
> Well, I think it is better to just do say "use kernel 32;"
> and have everything work than to have to do some awkward
> defintion of each function. Better let and automatic script
> spec2pm handle this.
That sounds pretty cool. It sounds like the regression
test framework(s) is (are) coming along nicely. I hope
I have time to try writing some tests soon. I'm already
pointing graduate students who ask for projects at this.
Say, that brings up a point: it'd be real nice to have
a web page I could point said grad students at.
One of these days soon, once the framework settles down
a bit, could somebody take the time to write a web page
about how to get started writing and contributing regression tests?
The Linux kernel has a name for people who do
kernel maintenance: Kernel Janitors. Maybe people
who contribute test cases to Wine could be Windows Washers? :-)
- Dan
Hi people,
After a few more sleepless nights, I got the listview control close to
something I'm willing to submit. The patch is here:
http://www.cs.toronto.edu/~dimi/listview-unicode-2.diff
Last night I've sent a message to the list (including the patch), but I
think it didn't like it because of it's size. Oh well.
Testing: the control seems to work fine in the File Chooser, and the
Common Control Spy Samples (thanks Francois!). Unfortunately, I could not
try Gerard's test cases, as I don't have VC++, and the little program from
www.timex.com doesn't seem to wanna run on my box (it complains of an
invalid date format in section [Intl] of win.ini even if I can see no date
format in there). Gerard, can you try it out, if you don't mind?
Comments, suggestions, and/or ideas are welcomed, as always.
--
Dimi.
I've sent a message about the ListView control, and I can't see it in the
list's archives, nor have I received a copy of it, so I'm afraid something
happened to it, and hence this test message.
My apologies,
Dimi.
Sound is pretty stuttering in the intro to Curse of Monkey Island. I've
put the last 20000 lines of a dsound trace at
ttp://www.lysator.liu.se/~johane/comi.txt.
At some occasions, these lines are quite frequent:
trace:dsound:DSOUND_MixOne mixlen not worth it, deferring mixing
Is that an issue?
Could someone tell if the error is in the underlying audio system or in
DirectSound itself?
/Johan Gill, johane(a)lysator.liu.se
hi all,
as my first contribution (implies that there is more to come ;-}) i have
found and fixed a (very) minor bug in updown.c but i am at a loss as to what
to do next. having read the documentation on cvs commit or cvs diff -u i am
still scratching my head in confusion. can somebody give me a newbie type
pointer as to what i can do? i have downloaded the latest cvs (todays date
13/1/2002) using cvs update -PAd, altered updown.c, tested that it compiles
and am now waiting on fireproof instructions for the next steps (i burn
easily :-)).
Shane Shields
To be a *nix programmer or to be a windows progammer that is the question.
The answer is simple...Be a WINE programmer and do both.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com