<DIV>
<DIV>Hello everyone,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I built a ping.dll.so from windows source codes using winemaker, (these source codes works under MS visual studio, also windows version dll works find under wine.)I did in this way:</DIV>
<DIV>&nbsp;</DIV>
<DIV>1) put all the windows version source files-pingdll.h,pingdll.c,pingdll.dll,pingdll.dsp in&nbsp;one directory;</DIV>
<DIV>2) %winemaker --lower-uppercase .</DIV>
<DIV>3) %./configure --with-wine-includes=/usr/local/include/wine/windows</DIV>
<DIV>4) %make</DIV>
<DIV>&nbsp;</DIV>
<DIV>Aftter ping.dll.so is generated, I put it&nbsp;under /usr/local/bin/wine/&nbsp;, also change my wine config (.wine/config)&nbsp;by adding "pingdll"&nbsp; =&nbsp; "builtin, native";</DIV>
<DIV>&nbsp;</DIV>
<DIV>When I run my application under wine:</DIV>
<DIV>&nbsp;</DIV>
<DIV>%wine ./ping.exe&nbsp; (pingdll work for ping.exe)</DIV>
<DIV>&nbsp;</DIV>
<DIV>the program terminates...</DIV>
<DIV>&nbsp;</DIV>
<DIV>when I use winedbg to run it, there's error message shown there:</DIV>
<DIV>&nbsp;</DIV>
<DIV>....</DIV>
<DIV>...</DIV>
<DIV>...</DIV>
<DIV>...</DIV>
<DIV>No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\PINGDLL.DLL' (0x40ae0000)</DIV>
<DIV>*** Invalid address 0x400016fc8 (_end+ox401587c)</DIV>
<DIV>No debug information in ELF '/usr/local/lib/wine/pingdll.dll.so' (0x40ada000)<BR>Invalid address for breakpoint 1, disabling it<BR>Invalid address for breakpoint 2, disabling it<BR>Process of pid=0000000a has terminated<BR></DIV>
<DIV>I used Redhat 9.0 and wine-2003-06-18, </DIV>
<DIV>Could one one help me out of this? &nbsp;thank you very much.</DIV>
<DIV>&nbsp;</DIV>
<DIV>-Lechun<BR></DIV></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