On Sun, 20 Jan 2002, Igor Bogicevic wrote:
> hello everybody,
>
> i have a slight problem, i want to write a wrapper around win32 binary dll
and
> use it with my *nix applications, and i have been through the winelib
> documentation, and spent pretty much time trying to make a working wrapper,
but
> i can't seem to get it working (with and without prototyping the calls
i seem to
> get many "undefined reference to '....'"'s)...
Wine/Winelib doesn't actually export the windose API functions as *nix
library symbols, if that is what you mean. I don't know how exactly to
get at them, but winemaker does, and it has a pretty fair man page.
> could anyone give me some example on how to actually use win32 dll which is
not
> part of the wine dll's and basic windows dll with the *nix applications
(in my
> case *nix = NetBSD1.5.2 && Linux2.2.20) since i am stuck and
actually i am not
> sure how to start since i can't really get to the solution with the
relatively
> poor documentation for winelib. with just using a wine on application that
was
> built with VC++ i can't get good performance which i need.
>
> thnx,
>
> igor bogicevic
>
Not exactly. Your *nix applications can end up as winelib programs,
right? Just feed the source of them to winemaker and see what you get.
You might want to hand tune the .spec file[s], and maybe the
install: target of Nakefile.in after.
Lawson