I've now got to the stage where I have to look at whether it is possible for a linux process to call into windows dlls. (Don't bother telling me to use winelib to make the linux executable into a winelib one). I've never really thought too hard about it; it has always seemed to me that it ought to be quite trivial; just make sure you call the correct initialisaton functions and there you go. Indeed that has been my response on occasions on c.e.m.w and no-one had corrected me. I've just started looking at it and I get the distinct impression that due to the multiple processes and threads involved it may not be as trivial as I though. Anyone care to comment? -- Bill Medland ACCPAC International, Inc. medbi01(a)accpac.com Corporate: www.accpac.com Hosted Services: www.accpaconline.com
I think this was investigated as part of the mono/wine integration effort. See the "pthreads and mono" thread (pun fully intended ;) for some details on that. I think Alexandres conclusion was this:
Is that setup modular at all? As in, could you start a program as a normal app, then dlopen some shlibs and call wineLibInit() for instance then link against windows DLLs as needed?
No, that's not supported at the moment, and it's a bit tricky to implement. It may happen someday but it's not really a priority right now. So at the moment, winelib apps have to be started using the wine loader I believe. On Fri, 2003-03-28 at 21:20, Bill Medland wrote:
I've now got to the stage where I have to look at whether it is possible for a linux process to call into windows dlls. (Don't bother telling me to use winelib to make the linux executable into a winelib one).
I've never really thought too hard about it; it has always seemed to me that it ought to be quite trivial; just make sure you call the correct initialisaton functions and there you go. Indeed that has been my response on occasions on c.e.m.w and no-one had corrected me.
I've just started looking at it and I get the distinct impression that due to the multiple processes and threads involved it may not be as trivial as I though.
Anyone care to comment?
participants (2)
-
Bill Medland -
Mike Hearn