<DIV>Hello Rodrick,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks a lot&nbsp;for your advices, now I am able to&nbsp;use winemaker to generate ping.dll.so (it take me a long time, lots of copiler errors there :) ). </DIV>
<DIV>&nbsp;</DIV>
<DIV>But somehow when I run my application under wine:</DIV>
<DIV>&nbsp;</DIV>
<DIV>%wine ./ping.exe</DIV>
<DIV>&nbsp;</DIV>
<DIV>It just terminate itself. (I suppose it should wait for user's input here) but it return back to prompt state:</DIV>
<DIV>&nbsp;</DIV>
<DIV>%</DIV>
<DIV>&nbsp;</DIV>
<DIV>Did you&nbsp;happen to&nbsp;know what's the problem, I checked it and found it seems the pin.dll.so works, but somehow terminate the whole program... really wield.</DIV>
<DIV>&nbsp;</DIV>
<DIV>All the best.</DIV>
<DIV>&nbsp;</DIV>
<DIV>-Lechun</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR><BR><B><I>Roderick Colenbrander &lt;thunderbird2k@gmx.net&gt;</I></B> wrote:</DIV>
<DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid; WIDTH: 100%">The tool winedump is used if I'm right to create a "stub" (empty) dll from a <BR>M$ dll. In your case since you have the source code and all you should use <BR>winemaker. There are dozens of options to give it to create an exectuble, a <BR>library and so on. Just copy the full windows source over and winemaker <BR>should create makefiles.<BR><BR>Good Luck,<BR>Roderick<BR><BR>On Sunday 20 July 2003 23:29, dd jj wrote:<BR>&gt; Hello,<BR>&gt;<BR>&gt; After reading winedump/README, I am still confused about how to generate a<BR>&gt; wine dll since there's no example described.<BR>&gt;<BR>&gt; Originally I followed the example described by "spec mode: Generating stub<BR>&gt; DLLs", later I found what I need is to "reimplement a Win32 DLL for Unix",<BR>&gt; I am wondering whether anyone can give a detailed sample to show how to do<BR>&gt; that...<BR>&gt;<BR>&gt; Now I have
 'pingdll.dll'(generated by MS visual studio), and source code<BR>&gt; 'pingdll.h','pingdll.c'...<BR>&gt;<BR>&gt; So my final goal is to generate a wine dll - pingdll.dll.so taking place of<BR>&gt; native dll(ping.dll) completly which can be called when I run:( I also need<BR>&gt; to change the wine's config to anounce 'Dlloveride: "pingdll" =<BR>&gt; "builtin,native")<BR>&gt;<BR>&gt; % wine ./ping.exe<BR>&gt;<BR>&gt; In such a way, I can implement some functionality through linux shared<BR>&gt; library without the restriction of WINE spave if using native dll under<BR>&gt; WINE).<BR>&gt;<BR>&gt; Could you please help me out of this?<BR>&gt;<BR>&gt; Thanks a lot.<BR>&gt;<BR>&gt; -Lechun<BR>&gt;<BR>&gt; Steven Edwards <STEVEN_ED4153@YAHOO.COM>wrote:<BR>&gt; &gt; Now I am trying to use winemaker to build a winelib dll from windows<BR>&gt; &gt; source code, Could anyone give some instructions about the implementation<BR>&gt; &gt; details? Or any useful info and samples
 there?<BR>&gt;<BR>&gt; It seems to me the easy way to build a WINElib dll ATM is not to use<BR>&gt; Winemaker but to use winedump to create the spec and add the dll to<BR>&gt; wine/dlls/newdllname.<BR>&gt;<BR>&gt; Thanks<BR>&gt; Steven<BR>&gt;<BR>&gt; __________________________________<BR>&gt; Do you Yahoo!?<BR>&gt; SBC Yahoo! DSL - Now only $29.95 per month!<BR>&gt; http://sbc.yahoo.com<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://us.rd.yahoo.com/evt=10469/*http://sitebuilder.yahoo.com">Yahoo! SiteBuilder</a> - Free, easy-to-use web site design software