<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office"><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.3504.2500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Thanx bill. But what i want to know is where 
exactly is this call(CreateBitmap will eventually result in calls into probably 
X11 code) done. I have looked into the documentation in winehq.com, i get a fair 
idea of how it is done, however when i look into the source code, im unable to 
understand much.</FONT></DIV>
<DIV><FONT face=Arial size=2>What i want to know is, this program that loads the 
windows exe and which runs them, where is this program located.</FONT></DIV>
<DIV><FONT face=Arial size=2>Also, the code where CreateBitmap is mapped into 
the Xlib, where is this code.</FONT></DIV>
<DIV><FONT face=Arial size=2>I am looking at some kind of low level 
documentation, or atleast a place where i could start.</FONT></DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2>Preetham</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV></FONT>----- Original Message ----- </DIV></DIV>
<BLOCKQUOTE dir=ltr 
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A href="mailto:Bill.Medland@accpac.com" 
  title=Bill.Medland@accpac.com>Medland, Bill</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  href="mailto:wine-devel@winehq.com" title=wine-devel@winehq.com>Wine devel 
  (E-mail)</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, July 09, 2002 4:10 
PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: newbie question</DIV>
  <DIV><BR></DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=070570423-09072002>(BTW 
  HTML email is generally sort of frowned on here)</SPAN></FONT></DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
  class=070570423-09072002></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=070570423-09072002>Unix 
  doesn't run windows programs.&nbsp; I suggest you actually read some of the 
  documentation at <A href="http://www.winehq.com">www.winehq.com</A>, 
  especially the Winelib stuff.</SPAN></FONT></DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
  class=070570423-09072002></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
  class=070570423-09072002>Basically wine is a Unix program that understands the 
  structure of Windows DLLS and exes.&nbsp; Wine itself runs, loads the dlls and 
  exes into memory and executes them.&nbsp; Some DLLS are replaced by 
  plug-compatible unix so's that interface to the lower levels.&nbsp; So 
  CreateBitmap will eventually result in calls into probably X11 
  code.</SPAN></FONT></DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
  class=070570423-09072002></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
  class=070570423-09072002>Bill</SPAN></FONT></DIV>
  <BLOCKQUOTE dir=ltr 
  style="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px">
    <DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma 
    size=2>-----Original Message-----<BR><B>From:</B> Preetham 
    [mailto:preetham@student.utdallas.edu]<BR><B>Sent:</B> Tuesday, July 09, 
    2002 5:24 PM<BR><B>To:</B> wine-devel@winehq.com<BR><B>Subject:</B> newbie 
    question<BR><BR></FONT></DIV>
    <P class=MsoNormal><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">Hi 
    all:</SPAN><SPAN 
    style="FONT-FAMILY: 'Arial Unicode MS'"><o:p></o:p></SPAN></P>
    <DIV class=MsoNormal><SPAN 
    style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">&nbsp;I have a very elementary 
    question. How does the Winodws program run in Unix. For example, i write a 
    program where i call the CreateBitmap() method, what happens. How is a dll 
    called in the unix environment. From what i know, unix dlls are .so files. 
    From the wingdi.h file in the wine\include directory, how does the unix OS 
    know how to resolve the WINAPI call. If i am right, windows dll's are 
    implemented in unix, how is this done.</SPAN><o:p></o:p></DIV>
    <DIV class=MsoNormal><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">I'm 
    kinda flustered at the moment, would appreciate the 
    help</SPAN><o:p></o:p></DIV>
    <DIV class=MsoNormal><SPAN 
    style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">Thanks,</SPAN><o:p></o:p></DIV>
    <DIV class=MsoNormal><SPAN 
    style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">Preetham.</SPAN><o:p></o:p></DIV>
    <DIV class=MsoNormal><FONT size=2><FONT 
    face=Arial>&nbsp;<o:p></o:p></FONT></FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>