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
3
votes
4 answers

Waiting for wine to finish running

My current script looks like this: cd ~/.wine/drive_c/ echo "test123" > foo$$.txt wine start "C:\foo$$.txt" wineserver -w echo "Wine is done!" which works fine when only one program is running in wine at a time. However if I run this a second time,…
Tyilo
  • 28,998
  • 40
  • 113
  • 198
3
votes
2 answers

Will a compiled vb6 application theoretically work under WINE on Mac?

Another developer at work told me it wouldn't work for some reason specific to Visual Basic 6 applications. But I think it should work as long as you include the correct DLLs and runtime files, isn't VB6 compiled to machine code? EDIT: I just mean…
Ryan Weir
  • 6,377
  • 5
  • 40
  • 60
3
votes
2 answers

Use dll win32 in linux platforms

I want to use a DLL library for Win32 in Linux. Can I use a library of Wine to do that?
freddiefujiwara
  • 57,041
  • 28
  • 76
  • 106
3
votes
1 answer

system-function call asynchron?

At one place in a code i call an external tool with the system-Call. I work with Wine and program with C. The call is like this: system("blabla.exe outfile"); The command is dynamically generated to change the outfile. A few lines later i try to…
3
votes
1 answer

Subprocess is not invoking my command(or is doing it wrong)

Overview: I have an application that sometimes must make something with celery- and if it is simple task such as count something- everything is ok. I' ve got one task which must convert existing file to another file using MS Windows program. So- I…
mrbox
  • 814
  • 1
  • 6
  • 18
3
votes
2 answers

VB Script in Wine doesn't return values for RND function

I'm trying to run below vbscript in Linux using Wine, but it doesn't work. Other vbscript functions are working as expected. Wine Version : wine-5.0.3 (Ubuntu 5.0.3-3) Command : wine cscript ./test_rnd.vbs VBS: On Error Resume Next WScript.Echo…
Ara
  • 63
  • 1
  • 7
3
votes
0 answers

Configure charset for ODBC Driver 17 for SQL Server

I'm running a Windows application on Linux under Wine, that accesses a SQL Server using the ODBC Driver 17 for SQL Server, for Linux. It runs fine except that I see incorrectly represented the varchars with non-Ascii characters. The nvarchar fields…
Marc Guillot
  • 6,090
  • 1
  • 15
  • 42
3
votes
0 answers

Unmet dependencies when installing wine 5 or higher in Zorin OS 15.3

I'm new at Linux and i need to upgrade to the latest of wine, but i got errors: The following packages have unmet dependencies: winehq-staging : Depends: wine-staging (= 6.6~groovy-1) E: Unable to correct problems, you have held broken packages. I…
skyccrfxcyr
  • 145
  • 3
3
votes
2 answers

Wine linker error: trying to create .lnk

I'm trying to create an .lnk file programatically. I would prefer to use C, but C++ is fine (and is what all the MSDN stuff is in). The relevant code sample is: #include #include #include HRESULT…
singpolyma
  • 10,999
  • 5
  • 47
  • 71
3
votes
6 answers

Installing Wine on Mac OS Catalina. Error: No available formula with the name "wine"

I'm trying to install Wine on my Mac via Brew. I'm using Catalina and just updated brew, installed XQuartz and have Xcode installed. When I type the command "Brew install wine" it returns the following: Error: No available formula with the name…
Alana
  • 185
  • 1
  • 1
  • 6
3
votes
1 answer

How to install an app through Winebottler using a .exe file on Mac

Disclaimer: Question related to debugging code, not exactly sure if allowed on Stack Overflow but disregard if so I've been trying to install an app. I downloaded the windows version of the app online and obtained a .exe file. Through various …
cjseleven
  • 31
  • 1
  • 1
  • 2
3
votes
4 answers

bash output to file

i have the following statement for i in `cat i.txt`; do wine ~/run.exe $i.asc >> out.asc; done but it keeps writing all the output to console not the file 'out.asc'. plz can you help me to redirect the output to file rather than screen. thanks in…
poi
  • 33
  • 3
3
votes
1 answer

Easiest way to create executable for windows from a Python on Linux environment

I want to make a Python 3.6 program which I develop on Ubuntu into an executable for windows. From what I searched online it seems I will need pyinstaller over wine. If there is an easier way, you can stop reading here, and suggest another way. I…
3
votes
2 answers

Compiling MQL4 via command line through wine metaeditor.exe

I'm trying to get to a point where I can compile/syntax check via command line so I can avoid using metaeditor for code management. I'm using this command (also attempted with /s and /log): wine metaeditor.exe /compile:"MQL4/Experts/MACD…
udjamaflip
  • 682
  • 1
  • 8
  • 24
3
votes
3 answers

How can I compile my Windows program into a single Linux binary that runs with Wine?

Just today i checked my ubuntu with installing wine in it , Delphi 3 to 7 worked perfectly (Rad studios did not work because they use .net scraps). But all of the application i made worked perfectly!!!!! And i heard that it also works well in mac…
Vibeeshan Mahadeva
  • 7,147
  • 8
  • 52
  • 102