Questions tagged [wine]

Wine is a software emulator used to run Windows software on UNIX-like operating systems. Use this tag for questions about developing software that interoperates with Wine, or developing Wine itself. Questions about *using* Wine belong elsewhere, possibly on Super User.

Wine lets you run Windows software on other operating systems. With Wine, you can install and run these applications just like you would in Windows.

Questions about using Wine to run Windows software are not appropriate for Stack Overflow. They should be posted on Super User, or possibly on a site specific to your operating system (e.g, AskUbuntu for Ubuntu users).

613 questions
76
votes
14 answers

How to increment version number in a shell script?

The following simple version control script is meant to find the last version number of a given file, increment it, run a given command with the newly created file (e.g., editor), and after that save it to stable. Since it's simple, it doesn't check…
nnn
  • 977
  • 2
  • 10
  • 13
49
votes
1 answer

Capturing sound from Wine with TargetDataLine

I have written a small Java application for testing purposes that captures sound from a mixer on ubuntu 12.04. The code works fine, I can capture sound from all applications except for anything running under Wine. Whenever I start my program, after…
Dominik Hensler
  • 635
  • 4
  • 9
34
votes
3 answers

Using Component Object Model (COM) on non-Microsoft platforms

I'm regularly running into similar situations : I have a bunch of COM .DLLs (no IDL files) which I need to use and invoke to be able to access some foreign (non-open, non-documented) data format. Microsoft's Visual Studio platform has very nice…
DrYak
  • 1,086
  • 1
  • 10
  • 15
32
votes
2 answers

Performance of subprocess.check_output vs subprocess.call

I've been using subprocess.check_output() for some time to capture output from subprocesses, but ran into some performance problems under certain circumstances. I'm running this on a RHEL6 machine. The calling Python environment is linux-compiled…
greenlaw
  • 867
  • 2
  • 9
  • 17
27
votes
2 answers

Determine whether a program is running under Wine at runtime

I think the title is self explanatory... I'm writing an application in C++ and I need to determine at runtime if I'm running under Wine (to change the bahavior a little in order to avoid a specific Wine bug). Is there a programmer-friendly way or…
kingofx87
  • 271
  • 3
  • 3
25
votes
2 answers

git am: Patch format detection failed

I have never used patches with Git before and I need some help. I am trying to apply a patch to a Git repo to test a Wine patch, specifically this patch here. So I did the following: $ git clone git://source.winehq.org/git/wine.git $ cd wine $ nano…
Aaron Franke
  • 3,268
  • 4
  • 31
  • 51
22
votes
10 answers

Execute Shell Commands from Program running in WINE

I have a windows program running on Linux using WINE. How can I call Linux shell commands from the windows program?
UKnoHowWeDo
  • 343
  • 1
  • 2
  • 6
21
votes
5 answers

How to write programs in C# .NET, to run them on Linux/Wine/Mono?

In this particular case I need to run .complicated NET application for Linux. By complicated i mean - that project was developed for 3 years and i don't want to write it again in java or something else and develop and support both, .NET and Java…
Kamil
  • 13,363
  • 24
  • 88
  • 183
21
votes
2 answers

Build MSI in Wine

Hoping this is still on-topic for StackOverflow. I'm doing all my development on a Linux machine, but the code will be run by both Linux and Windows machines. I'd like to use Linux to compile the code, and I have mingw-32 and mingw-w64 for that. But…
Richard
  • 56,349
  • 34
  • 180
  • 251
17
votes
11 answers

Understanding a Large, Undocumented Set of Source Code?

I have always been astonished by Wine. Sometimes I want to hack on it, fix little things and generally understand how it works. So, I download the Wine source code and right after that I feel overwhelmed. The codebase is huge and - unlike the Linux…
George
  • 15,241
  • 22
  • 66
  • 83
15
votes
1 answer

Is it possible to call native Linux API from a Windows application running in Wine?

Scenario I have a plugin (dll) written for a Windows application (in C++). That application works fine on Linux under Wine, however, in the plugin I would like to use a feature which is not yet available in Wine. Assuming I can detect at runtime…
user6846474
14
votes
1 answer

How to fix "Prefix creation exited with error" in Wine at mac?

When I install a .exe application in WineBottler,it shows an error "Prefix creation exited with error" There is the error log: Hardware Overview: Model Name: MacBook Pro Model Identifier: MacBookPro15,2 Processor Name: Intel…
Benjamin_Sun
  • 141
  • 1
  • 1
  • 3
14
votes
3 answers

How to properly debug a cross-compiled Windows code on linux?

I have a small piece of Windows code, basically one copied from the MSDN tutorial but adapted for C++. I can compile it now using one of the methods: i686-w64-mingw32-g++ -g hello.cpp -o hello to produce a native Windows PE32 executable, wineg++ -g…
The Vee
  • 11,420
  • 5
  • 27
  • 60
13
votes
1 answer

Is it possible for AWS Lambda to run a Windows binary via Wine?

I have a Python script with a Windows .exe dependency, which in return relies on a (closed-source) Windows DLL. The Python script runs just fine in Ubuntu via a call to Wine. Is it possible (and practical) to run this on AWS Lambda? What would be…
tremby
  • 9,541
  • 4
  • 55
  • 74
13
votes
2 answers

Wine and Cyrillic Fonts

Run Wine under Linux Mint 17.2. Cyrillic names of programs, menu items names, text files - all are unreadable. Some exceptions do exist. For example, I can see Cyrillic text in CoDeSys IDE, but all my keyboard input is "????" on a screen. And…
drvlas
  • 423
  • 3
  • 7
  • 18
1
2 3
40 41