[cw-discuss] Launch kernel.dll from a unix program
Robert Shearman
rob at codeweavers.com
Sun Jan 6 14:22:14 CST 2008
warley camargo wrote:
> Can I launch a Windows program from a unix program
> without specifically calling Wine?
>
> In Kylix, i successful compiled "Windows.pas" from
> Delphi source, but when i compiled a project, such
> application looks for Kernel.dll and user32.dll. But i
> am in Linux OS, the question is:
> It's possible call this libraries from a unix program
> without specifically calling wine?
>
The short answer is no. However, the long answer depends on what exactly
you mean.
If you mean "can you use Wine libraries from a Unix program?", then the
answer is no, you can't, because the libraries expect certain parts of
the environment to be setup and this environment setup can only really
be done before any user code is run. The wineserver also needs to be
launched.
However, if you mean "can you launch a Windows program without using the
wine script?", then the answer is: why do you want to do this? If you
want, you can always compile a small Unix program that just launches
wine with your executable name to load it and to give it the appearance
of being a native application.
Hope this helps,
--
Rob Shearman
More information about the discuss
mailing list