<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office"><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.50.4915.500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=070570423-09072002>(BTW 
HTML email is generally sort of frowned on here)</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=070570423-09072002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff 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 face=Arial color=#0000ff size=2><SPAN 
class=070570423-09072002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff 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 face=Arial color=#0000ff size=2><SPAN 
class=070570423-09072002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=070570423-09072002>Bill</SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><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-SIZE: 10pt; FONT-FAMILY: Arial">Hi 
  all:</SPAN><SPAN 
style="FONT-FAMILY: 'Arial Unicode MS'"><o:p></o:p></SPAN></P>
  <DIV class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&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-SIZE: 10pt; FONT-FAMILY: Arial">I'm 
  kinda flustered at the moment, would appreciate the 
  help</SPAN><o:p></o:p></DIV>
  <DIV class=MsoNormal><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks,</SPAN><o:p></o:p></DIV>
  <DIV class=MsoNormal><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">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></BODY></HTML>