Le mer 10/07/2002 à 02:36, Michael Cardenas a écrit : > Preetham wrote: > > > 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. > > What i want to know is, this program that loads the windows exe and > > which runs them, where is this program located.
The code for wine is a bit scattered all over the place. The main executable (wine) is built in miscemu, but some source from elsewhere in the tree is used. > > Also, the code where CreateBitmap is mapped into the Xlib, where is > > this code. > > I am looking at some kind of low level documentation, or atleast a > > place where i could start. > > Thanks, > > Preetham > > [snip] > > ... > > > You could start by going to your wine source dir and typing this: > > find . -name *.c | grep CreateBitmap > > or > > find . -name *.spec | grep CreateBitmap tools/findfunc fills exactly that need. Usage: ./findfunc FUNCTION > -- > michael cardenas > lead windows compatibility engineer > lindows.com > . > hyperpoem.net > . > "Be the change you want to see in the world" > -Mahatma Gandhi > Vincent