<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Courier;
        panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi all,</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>This is a follow-up to the message I wrote a message
yesterday with the subject &#8220;Wine and IrDA via </span></font><font size=2
  face=Arial><span style='font-size:10.0pt;font-family:Arial'>Virtual</span></font><font
 size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> </span></font><font
  size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Com</span></font><font
 size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> </span></font><font
  size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Port</span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>&#8221;,
although that wasn&#8217;t a good subject for the problem.&nbsp; </span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>The software that I have is using Overlapped (asynchronous)
I/O for communication of an IR port.&nbsp; The software makes WriteFile(), ReadFile(),
and GetOverlappedResult() calls.&nbsp; However, before making any of the calls,
the software does NOT initialize the hEvent member of the OVERLAPPED structure
that is passed to the functions (it just zeroes the entire structure).&nbsp;
Apparently the Win32 implementation of this is OK, but it is pretty obvious
that the Wine implementation will not work with hEvent == 0.<br>
<br>
</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Now, I&#8217;m not saying that the Wine implementation is
wrong, because based on the MSDN documentation, that value should be set to a
valid event handle;&nbsp; however, the behavior is fundamentally different from
the native Win32 environment, which in my case, leads to undesirable
results.&nbsp; Is this something that I could feasibly fix in Wine, or would it
be better to try to change the implementation of the software?</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Does anyone have any experience with this part of
Wine?&nbsp; Thanks.</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>-- Ryan</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Courier><span style='font-size:10.0pt;
font-family:Courier'>01010011 01100101 01110010 01100101 01101110 01100100
01101001 01110000 01101001 01110100 01111001<br>
If only all life was just this simple&#8230; :)</span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

</body>

</html>