Wine Newbee... looking for starter tips

Questions about Wine on Linux
Locked
code_fodder
Level 2
Level 2
Posts: 14
Joined: Wed May 29, 2013 2:58 am

Wine Newbee... looking for starter tips

Post by code_fodder »

Hi all,

I have just been trying to port my MSVC project on windows into Qt on windows and then into Qt on linux and from there to generate a debian package. However I get stuck when we found out that we had a single 3rd party .lib file that is compiled for windows and we have only the header file for it. At that point we have been searching for a solution and then name "wine" keeps appearing, so we have decided to see if we can use wine to help us (probably I am about to ask a very basic question)...

So I have a windows .exe with a bunch of .dlls that runs in a stand alone fashion (all in one folder) on a windows box. So I guess, firstly is that suitable for running in the wine environment?

My application is quite simple, it uses networking, threads, timers and a few other basic functions... no graphics of fancy stuff. It has no "windows installer" app to deploy it, just the .exe and dlls.

If it is suitable for wine, then where do I start? - maybe there is a good link somewhere?
Thanks wine users :), please be gentle! - I know I could search for all this, but I want to get expert information first, or at least pointers to a good information page.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine Newbee... looking for starter tips

Post by dimesio »

The FAQ is a good place to start. http://wiki.winehq.org/FAQ

As for whether your app will work in Wine, try it in the latest development release and find out.
code_fodder
Level 2
Level 2
Posts: 14
Joined: Wed May 29, 2013 2:58 am

Re: Wine Newbee... looking for starter tips

Post by code_fodder »

Ok, thanks for that!

so I have been reading through all this useful information... my head hurts!

However, I think I have discovered that I just need to stick my windows files somewhere on my linux box all in one folder, say containing:

app.exe
some.dll
someother.dll

and then in a terminal cd to that folder and enter:
"wine app.exe"

Does that sound about right?

Thanks again!
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine Newbee... looking for starter tips

Post by dimesio »

If there's no installer, that should do it.
code_fodder
Level 2
Level 2
Posts: 14
Joined: Wed May 29, 2013 2:58 am

Re: Wine Newbee... looking for starter tips

Post by code_fodder »

That did do it! now I am a wine master...right? :roll:

Thanks very much for the help, can't believe it was so easy, but then again my application is very simple :)
Locked