wine

Quoting command-line arguments in shell scripts

The following shell script takes a list of arguments, turns Unix paths into WINE/Windows paths and invokes the given executable under WINE. #! /bin/sh if [ "${1+set}" != "set" ] then echo "Usage; winewrap EXEC [ARGS...]" exit 1 fi EXEC="$1" shift ARGS="" for p in "$@"; do if [ -e "$p" ] then p=$(winepath -w $p) fi A...

Is it possible to develop DirectX apps in Linux?

More out of interest than anything else, but can you compile a DirectX app under linux? Obviously there's no official SDK, but I was thinking it might be possible with wine. Presumably wine has an implementation of the DirectX interface in order to run games? Is it possible to link against that? (edit: This is called winelib) Failing ...

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 capabilities to import such COM DLLs and use them in my project (Visual C++'s #import directi...

Mac toolbar via WINE / Crossover

Does anyone know if it's possible to get a Win32 application to run under wine / crossover but have the main toolbar appear as a Mac toolbar (i.e. outside the wine / crossover app)? ...

Should I start distributing my systems as Wine ready?

I have tested all my systems developed in Delphi (in Windows XP) on Wine (OpenSuse Linux) and they work perfectly. My question is: should I start distributing my systems (on a local basis that I can support) as Wine ready or are there other issues I should take into account? ...

How to make a simple Wine-based installer for Windows application

My Windows application runs under Wine, but the installation is a bit of a headache for laymen, and the wrappers I've seen online (PlayOnLinux, Wine Doors) require even more packages to be installed. Is there a way to make a package that will install Wine if the user needs it to be installed, install the application and shortcuts, all wi...

How a Windows Developer can most easily get his software to work well under Wine

Many of my users have been telling me that they'd like to run my software on their Linux machines under Wine. But I'm a Windows Developer who has practically no experience with Linux. Now I could spend a month or two installing Linux, learning Linux, installing Wine, learning Wine, and thoroughly ensure my application runs well under W...

Invoking Wine From Apache

I have Apache/2.2.11 using mod_python 3.3.1/Python 2.5 running under Gentoo linux. In my python script I invoke a win32 exe using wine (os.popen2 call). This works fine outside of Apache but under mod_python I get: wine: cannot open /root/.wine : Permission denied in /var/log/apache/error_log. My apache install is not running as the...

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 <windows.h> #include <shobjidl.h> #include <shlguid.h> HRESULT CreateLink(LPCSTR lpszPathObj, LPCSTR lpszPathLink, LPCSTR lpszDesc) { HRESULT hres; IShellLink* p...

Use dll win32 in linux platforms.

I want to use a dll library for Win32 in linux. I thinkd can do it if I use a library of wine... Please help it.or http://okyuu.com/en/question/5785 ...

Visual Studio 2008 and Wine

Anyone have tried to run Visual Studio 2008 over linux wit wine? Any troubles? It works? ...

What would be the best solution for my Delphi apps on Linux - Delphi+Wine or Lazarus?

I need to make my Delphi solutions available on Linux and I have tested them on both Wine and Lazarus. What are the technical considerations I should take into account (Programming, Deployment, Maintenance etc.) on the longer term in order to avoid landing in a maintenance nightmare. I keep my Windows components used pretty standard to a...

Warcraft III + wine + automatic battle.net logon

I need a little bash script which will send keyboard strokes to current running application under linux. This application runs under wine in Xorg. I'm trying to create script to automatically log me into battle.net account in Warcraft 3 game. ...

Sending keycode to Xorg + wine with bash script

How do I send keycode to currently running application in linux which is running under wine? I would like the it to be under bash for simplicity. ...

How to run a program using Wine that requires JRE on Ubuntu?

Hello, I have an application that requires JRE to run on Windows. I have now migrated to Ubuntu and trying to run that application using WINE. But I get the error "No Java Found". Thanks in advance... Zaheer ...

Using P/Invokes in Mono through Wine

Is it possible to use native Win API functions in Mono through Wine? Are there some additional libraries for interactions between Mono and Wine? ...

WINE error when running windows application

Hello, A user reports that one of our applications doesn't work under WINE. It runs until he proceeds past a certain form, and then freezes. WINE gives the following output: ~/.wine/drive_c/HeroLab$ wine HeroLab.exe fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (30000): STUB fixme:wininet:InternetSetOptionW IN...

Automatically "Press Enter to Exit" in bash?

In a bash script, I'm using wine to call a DOS program that requires me to "Press Enter to exit". How do I do that automatically and continue with the rest of the script? ...

How to use Wine from Apache/Php? - '/var/www' is not owned by you...

Hi! I need to run a windows command line tool from a php script on my Debian server. For that, I'm trying Wine. Invoking wine and the tool via terminal works fine: "$ wine tool.exe" But when running the same from my php script... exec("wine tool.exe"); ...I get the following in my Apache error log: wine: '/var/www' is not owned by yo...

Can't connect to MySQL for .NET application deployed in Wine using Ubuntu

Below is the link http://stackoverflow.com/questions/1518946/how-to-insert-delete-select-update-values-in-datagridview-in-c-using-mysql which has the code to connect to a MySQL datbase from a Windows application. It works fine in Windows XP. So I have created a setup file and installed in Ubuntu using Wine. The issue is with the data ...