<div class="gmail_quote">On Sun, Nov 8, 2009 at 7:52 PM, Felipe Monteiro de Carvalho <span dir="ltr"><<a href="mailto:felipemonteiro.carvalho@gmail.com">felipemonteiro.carvalho@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I did a quick reading in the wine website and it seams that winelib is<br>
designed to allow compiling applications in UNIX. Therefore I would<br>
expect that you build your application targeting linux, for example,<br>
but you ifdef out the Windows unit from the uses clause and adds a<br>
wine equivalent unit which would call the winelib shared object.<br></blockquote><br>WineLib replaces Windows system libs but also allows linking third party windows libs in a unix app.<br>At some point they even allowed using a native windows ntfs driver in Linux the same way ReactOS could use, Wine and ReactOS share parts of code.<br>
<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
So to make this work you need to convert the headers for this winelib<br>
to Pascal, which AFAIK isn't done yet. Converting C headers is easy,<br>
and you can limit yourself to the routines you use, so it should be<br>
easy, although time consuming.<br></blockquote></div><br>I'm not sure if static dll linking is possible under Linux if Wine is installed or Wine has dynamic linking but i think static linking should be possible too.<br>
<br>Razvan<br>