Am 21.09.2013 19:49, schrieb paul.clark...@btinternet.com: > Hi, > > I am new to WINE and indeed winebuild. What I need to do is write a wrapper C > part and Spec file and build a wrapper around an existing Linux shared > library so that my wrapper DLL can be dynamically loaded into my program > running in WINE. This, I believe, is supposed to be a simple thing to do and > one of the main purposes of winebuild. > > I have failed miserably to understand the winebuild manual. It just lists a > whole bunch of options. Whatever I try I just get an assembler file spat at > me. I have searched the web and although I see a few people with the same > problem as me I don’t see anyone posting any answers. > > Does ANYONE have any simple examples or example scripts which will show how > to use winebuild to build a DLL I can load.
have you read https://www.winehq.org/docs/winelib-guide/bindlls ? on the other hand you should note that there are examples of such dlls already available in the wine source. For an obviously example you can also visit http://dawncrow.de/wine/wpcap.html