Hello, I'd like create a unix shared library that will make some call to a WIN32 DLL using wine. Is this possible, and if it is so, where may I find some documentation pointers on how to achieve this ?
Tnx, Vittorio
On April 3, 2003 06:48 am, Vittorio Ballestra wrote:
Hello, I'd like create a unix shared library that will make some call to a WIN32 DLL using wine. Is this possible, and if it is so, where may I find some documentation pointers on how to achieve this ?
Tnx, Vittorio
If you mean what I think you mean then it isn't possible (well, not realistically).
I presume you mean that you want to call into a WIN32 dll from a unix process, using Wine to help you.
(I think that we are all agreed that ) you can only call into a WIN32 dll using Wine if the main process IS wine.
If that meets your requirements then look into Winelib; basically your unix shared library will need to be wrapped to look like a WIN32 dll.
If you mean what I think you mean then it isn't possible (well, not realistically).
Tnx for the advice. I'll try in another way. What I was trying to do is to use office automation from a unix server, i.e. using wine and M$ Office to create documents and operate on them in a programmatically way. I know there is POI for java and a bunch of other libraries for C to access Office documents in a more direct way, but I was trying this way just for curiosity (and also those libraries are never 100% compatible). I suppose I could use DCOM for this, running the server with wine... I'll try this way (if I remember well I found a dcom unix implementation some time ago...).
Tnx, V