Questions tagged [winelib]

24 questions
10
votes
6 answers

Advantage of winelib?

Are there any advantages to compiling my Windows application with winelib for Linux users? Why not just give them the .exe and let them run it with Wine? Seems just like extra work for no gain.
davr
  • 18,877
  • 17
  • 76
  • 99
5
votes
2 answers

Running Linux program using Windows DLL (winelib) without wine?

I have a Windows DLL and an API related to the DLL. The DLL is part of a driver of specific device, for which I would like to write a Linux (Android 4.0) software. I've read that it is possible to use a DLL inside Linux software (using winelib). If…
syntagma
  • 23,346
  • 16
  • 78
  • 134
5
votes
1 answer

Access a Windows dll from Java under Linux (probably through Wine)

I've managed to run JavaFX 2.0 under Linux by following this guide. It works nicely by running a Windows version of Java using Wine. This Java process can pick up the native .dll files of the Windows version of JavaFX. Now I wonder if there is a…
ziggystar
  • 28,410
  • 9
  • 72
  • 124
5
votes
1 answer

Using Winelib to port a Windows-only GUI toolkit

I love just about everything about the DFL GUI toolkit for D except that it only works on Windows because it's basically a pretty, high-level wrapper around the Windows API. How hard would it likely be to simply port such a toolkit to Linux (I…
dsimcha
  • 67,514
  • 53
  • 213
  • 334
5
votes
2 answers

Wine error: Application tried to create a window, but no driver could be loaded

I made a fcgi-isapi bridge, which I compile with wineg++ (keyword winelib). It is running a pure Win32 isapi extension using LoadLibrary/GetProcAddress. This works fine for a simple demo isapi dll, but not for a more complex one, where wine crashes…
Daniel Alder
  • 5,031
  • 2
  • 45
  • 55
3
votes
1 answer

Wine spec files

I have a Windows DLL called morag.dll containing functions foo and bar. I also have a Linux SO called morag.so containing the Linux implementations of foo and bar (same parameters on each platform). I have a Windows application that loads morag.dll…
Morag Hughson
  • 7,255
  • 15
  • 44
3
votes
2 answers

Build and override a simple Winelib DLL

I have a Windows executable that load a library and I want to create a Winelib DLL that will overide the Windows DLL. It's been 2 days that I search and try but it won't work ! Please help me ! Basically I create mydll.c and mydll.spec to build the…
HiryuuTRT
  • 31
  • 3
2
votes
0 answers

How to build WineLib for Mac OS X 10.6 and link it with XCode project?

Please forgive me for a stupid lame question, but I can't find even minimal documentation... It seems that only Wine is covered. Should I use the Wine sources to build Winelib? Is my assumption correct that I can create a Winelib framework by…
Ryan
  • 1,451
  • 2
  • 27
  • 36
2
votes
1 answer

Problems compiling C++ programs with wineg++/winelib

I am having trouble compiling C++ programs with wineg++. To illustrate my problem, I have written two test programs. msgbox.cpp #include #include #include #include int APIENTRY WinMain(HINSTANCE,…
isekaijin
  • 19,076
  • 18
  • 85
  • 153
2
votes
0 answers

C++ calling conventions -- converting between win32 and Linux/GCC?

I'm knee deep in a project to connect Windows OpenVR applications running in Wine directly to Linux native SteamVR via a Winelib wrapper, the idea being to sidestep all the problems with trying to make what is effectively a very complicated device…
roothorick
  • 21
  • 1
2
votes
0 answers

Compiling Socket Program in C with Windows API on linux using Winelib

I am using winelib to compile a windows socket code in linux platform. My idea is to understand how winelib behaves in the linker stage. I am compiling using two commands "winemaker --lower-uppercase ." and "make" in sequence. Everytime when I do a…
2
votes
0 answers

Unix program interacting with win32 programs running in wine?

I am developing a program which, through the use of ReadProcessMemory and WriteProcessMemory from the kernel32 API, modifies another win32 program at runtime. I would also like to support those who run target.exe on *nix platforms through the use…
Chad Zawistowski
  • 1,876
  • 1
  • 13
  • 16
1
vote
1 answer

checking internet connection in c++ using internetcheckconnection

I am trying to check internet connection of the user by using internetcheckconnection(). The code: #include #include #include #include #pragma comment(lib, "wininet.lib") int main() { char…
1
vote
0 answers

Building VC++ 2010 apps for Linux over winelib with winemaker

I am preparing to build a VC++ 2010 DLL over winelib in Linux. I would like to use winemaker to produce the proper makefile from the project's existing .vcxproj file. But winemaker's (rather non-recent) docs refer only to supporting .dsp and…
Chris Cochran
  • 321
  • 2
  • 9
1
vote
0 answers

Trying to compile win32 app with winelib; type errors from winelib's header files?

I would consider myself a beginner programmer, so please bear with me if am I leaving out helpful information as I might not realize it. I am trying to port a Win32 application to Ubuntu 10.04 LTS (Lucid Lynx). All of the source files are written in…
Steve
  • 33
  • 3
1
2