<DIV>Hello Mike,</DIV>
<DIV>&nbsp;</DIV>
<DIV>So as my understanding, even recompile the original windows codes using WINELIB will not work, am I correct? </DIV>
<DIV>&nbsp;</DIV>
<DIV>Since finding window info under cursor is only one of the functionality in this application,</DIV>
<DIV>it will be a huge work to rewrite all the codes for X window. Is there any Avenue to port such a windows application to Linux? Using Visual Mainwin or Win/U is better choices?</DIV>
<DIV>or any other comments on it?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks a lot!</DIV>
<DIV>&nbsp;</DIV>
<DIV>-Lechun<BR><BR><B><I>Mike Hearn &lt;mike@theoretic.com&gt;</I></B> wrote:</DIV>
<DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid; WIDTH: 100%">Programs run under emulation are only aware of other Wine programs. If<BR>you want to write an app like that, you'd need to rewrite it for Linux.<BR><BR>BTW, you might want to talk to a guy named Bill Haneman (i think that's<BR>the spelling). He does Gnome accessibility, and i think they have an app<BR>that can read info about stuff under the mouse cursor.<BR><BR>On Thu, 2003-07-10 at 20:41, dd jj wrote:<BR>&gt; Thank you for response. The following is my further question:<BR>&gt; <BR>&gt; Here is my case:<BR>&gt; <BR>&gt; Now I am trying to run our own developed application under wine, the<BR>&gt; original function of this app is working as a background daemon<BR>&gt; without GUI who is trying to figure out some window information under<BR>&gt; the current cursor, such as the window title, class name using<BR>&gt; GetWindowTitle, GetClassName ... WIN32 API calls. <BR>&gt; <BR>&gt;
 When I run this under WINE, it can't "see" any other Local X<BR>&gt; application windows such as Xterm, Xclock... which don't run under<BR>&gt; WINE.<BR>&gt; <BR>&gt; <BR>&gt; I am wondering whether I can recompile the codes to generate a lcoal X<BR>&gt; application using winelib to solve this problem, or I must write X11<BR>&gt; based codes?<BR>&gt; <BR>&gt; Thanks a lot!<BR>&gt; <BR>&gt; -Lechun<BR>&gt; <BR>&gt; Mike Hearn <MIKE@THEORETIC.COM>wrote:<BR>&gt; &gt; fixme:class:get_class_ptr reading from class of other<BR>&gt; process window<BR>&gt; &gt; 0x2002a<BR>&gt; &gt; err:win:WIN_FindWndPtr window 0x2003a belongs to other<BR>&gt; process<BR>&gt; <BR>&gt; Well these two are known problems. I think it's something<BR>&gt; Alexandre will<BR>&gt; be working on at some point, inter-process window<BR>&gt; communication isn't<BR>&gt; really implemented well in Wine at present.<BR>&gt; <BR>&gt; &gt; Also I found other errors when I launch my window appication<BR>&gt; under<BR>&gt; &gt;
 wine:<BR>&gt; &gt; <BR>&gt; &gt; err:module:import_dll No implementation for<BR>&gt; USER32.dll.GetTitleBarInfo<BR>&gt; &gt; imported from C:\ping\exe\ping.exe, setting to 0xdeadbeef<BR>&gt; &gt; err:module:import_dll No implementation for<BR>&gt; USER32.dll.GetMenuBarInfo<BR>&gt; &gt; imported from C:\ping\exe\ping.exe, setting to 0xdeadbeef<BR>&gt; &gt; <BR>&gt; <BR>&gt; Unless the program actually uses them, this isn't a problem.<BR>&gt; If it does,<BR>&gt; the app will crash, at which point we'd need to write those<BR>&gt; functions or<BR>&gt; stub them out.<BR>&gt; <BR>&gt; thanks -mike<BR>&gt; <BR>&gt; <BR>&gt; ______________________________________________________________________<BR>&gt; Do you Yahoo!?<BR>&gt; SBC Yahoo! DSL - Now only $29.95 per month!<BR></BLOCKQUOTE></DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://pa.yahoo.com/*http://rd.yahoo.com/evt=1207/*http://promo.yahoo.com/sbc/">SBC Yahoo! DSL</a> - Now only $29.95 per month!