Hello,

I worked on some dll examples this week, but will not be submitting them until
next week. I ran into a gcc bug that disappears every time you try to
troubleshoot it. After some hair pulling, I found a work around. I managed to
complete the examples (they run on my machine), but I have not tested their
portability. I think I need to remove some hard coded paths in the Makefiles
and I should be done.

The examples have an executable and a library. Using Wine and WineLib, the
examples demonstrate:

1. Use Wine to execute a Windows executable with the Windows dll.

2. Use Wine to execute a Windows executable with a WineLib compiled .so library.

3. Use WineLib to execute a WineLib compiled executable with a Windows dll.

4. Use WineLib to execute a WineLib compiled executable with a WineLib compiled
.so library.

The original Windows code was written by Lumin Software's resident Windows guru
Rob Carriere. I wrote the necessary code for WineLib (.spec files and glue
code in .c files). Rob, myself, and Lumin Software are releasing this code to
the wine project under the terms of the wine license. Hence, we now have
examples for people to stare at and the code can be re-distributed.

If anyone wants copies now, send me an email and I will send a copy to you.
Remember, there may be some hard coded assumptions in the Makefiles and
absolute path in the symbolic links.

Question: Is there a consensus where these examples should be placed in the
wine source tree? programs is one possibility, but my examples have no useful
purpose except showing how to hook-up libraries in Wine and WineLib. The other
examples in programs all have a useful functions.

Next weekend I will clean up the examples and write some explanation for the
examples and submit them.

-- 
Wilbur Dale
Lumin Software BV
Zandheuvel 52 B
4901 HW Oosterhout (NB)
The Netherlands

phone: +31-(0)162-47.88.42
fax:   +31-(0)162-43.31.52

YOU HAVE NOW RECEIVED THE UNIX VIRUS
This virus works on the honor system:

If you're running a variant of Unix or Linux, please forward
this message to everyone you know and delete a bunch of your
files at random.

Reply via email to