LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-07-2008, 12:39 AM   #1
Person_1873
Member
 
Registered: Sep 2007
Location: Australia
Distribution: Arch Linux
Posts: 489

Rep: Reputation: 39
licensed windows API in linux???


is there any software simmilar to wine that you can install, but have a windows license and actually be able to run "ANY" windows app in linux? what's to stop that from happening anyway?

i don't want to emulate/virtualise because my cpu isn't VT compatible or whatever so...

Last edited by Person_1873; 02-07-2008 at 12:40 AM.
 
Old 02-07-2008, 06:46 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
As a practical matter, I think the only way to run ANY Windows app is to run on Windows. (including running on Linux in a VM).

This said, I believe that any Windows app can be made to run on WINE/CrossOver if the author/vendor cooperates. Codeweavers (vendor of CrossOver) happily accepts money for helping to get an application running.
 
Old 02-08-2008, 04:46 AM   #3
Person_1873
Member
 
Registered: Sep 2007
Location: Australia
Distribution: Arch Linux
Posts: 489

Original Poster
Rep: Reputation: 39
yea i'm aware of this, i do have a windows instalation, i just dislike windows, i wan't to dump windows completely, but until wine, cedega or crossover are good enough to be able to run all win XP apps at least, i'm not going to dump my win installation,

i'm a heavy gamer, but linux doesnt have any support for any of my favorite games, i was just hoping that there was a way that you could have the full blown win32 API without the GUI running in a simmilar fashion to wine in linux
 
Old 02-08-2008, 07:35 AM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
I can't imagine Microsoft ever creating a Windows API to run on top of Linux -- seems like it wouldn't do they much good, even if they could license it. (Losing OS means they lose a lot of software sales too.)
 
Old 02-08-2008, 08:04 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Many moons ago, I asked the people at Codeweavers why it was so difficult to get WINE up to 100%. My simple logic was based on the presumption that MS publishes information on how to develop for Windows---therefore anyone should be able to make it work going the other way. I forget the exact conversation but I think it carried the message that I did not really understand Windows programming. (But then, I already knew that....)

Without actually installing and running Windows, I think WINE is as close as you get.
 
Old 02-10-2008, 05:57 AM   #6
Person_1873
Member
 
Registered: Sep 2007
Location: Australia
Distribution: Arch Linux
Posts: 489

Original Poster
Rep: Reputation: 39
hmm, i just don't see why someone couldn't with microsoft sdl'd create an environment in which you could basically use your win XP or vista CD/DVD to install an API is all...

the only bit that microsoft would supply would be the base OS...

also is it possible to virtually separate a dual core processor and essentially run 2 OS's side by side using 2 different video cards and peripherals through the one PC? like this?

Code:
/----------------------------------------\
|     OS 1          |       OS 2         |
|----------------------------------------|
|                                        |
|           Hardware                     |
\________________________________________/

Last edited by Person_1873; 02-10-2008 at 06:22 AM.
 
Old 02-10-2008, 09:09 AM   #7
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Lenny/Squeeze/Wheezy/Sid
Posts: 4,099

Rep: Reputation: 494Reputation: 494Reputation: 494Reputation: 494Reputation: 494
Sure that can be done. There is a variety of solutions, ranging from one extreme (a Windows API on a Linux system) thru a VM, thru utilizing a dual core processor, thru separate hardware and eventually you end up with two separate boxes, whether or not sharing one external hard disk.

But you don't need a dual core processor per se to do this. From the i386 on the concept of a virtual processor was know, which enables you to run each process as if it were running in a separate hardware processor. The reason that recently dual and quad core processors came in the market is that single core processors could not further be optimized are made run faster. Now *finally* Windows and Windows programs were able to perform decent multithreading it pays off to have multiple cores.

The basic architecture has not been changed though, i.e. what is possible with two cores has always been possible with one core.

Since your proposal is still based on some hardware sharing, you'd still need some co-operation between the OS-es to determine who is the boss over which hardware and when. OS-es expect to be the single boss, and are not designed to co-operate. That is why usually one OS is the host for another guest VM.

If your problem is gaming, I cannot do else but recommend a Windows system as host and running Linux in a VM. Any other solution on a Linux platform won't work as I think most games expect to have a Windows API which is down to the hardware as much as possible.

Just my

jlinkels
 
Old 02-10-2008, 10:39 PM   #8
Person_1873
Member
 
Registered: Sep 2007
Location: Australia
Distribution: Arch Linux
Posts: 489

Original Poster
Rep: Reputation: 39
right... i was sorta thinking of a virtual host under both OSes controlling hardware as a normal OS would but only have the task of giving each OS resources
 
Old 02-11-2008, 12:24 AM   #9
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
You essentially just described Vmware.
 
Old 05-26-2008, 05:00 PM   #10
Person_1873
Member
 
Registered: Sep 2007
Location: Australia
Distribution: Arch Linux
Posts: 489

Original Poster
Rep: Reputation: 39
ok, but is there an OSS alternative to vmware?
 
Old 05-26-2008, 05:08 PM   #11
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
Qemu will run Windows in a similar fashion to Vmware.
 
Old 05-26-2008, 05:10 PM   #12
Person_1873
Member
 
Registered: Sep 2007
Location: Australia
Distribution: Arch Linux
Posts: 489

Original Poster
Rep: Reputation: 39
but can you install it as a standalone bootable system without a host?
 
Old 05-26-2008, 09:09 PM   #13
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Lenny/Squeeze/Wheezy/Sid
Posts: 4,099

Rep: Reputation: 494Reputation: 494Reputation: 494Reputation: 494Reputation: 494
VirtualBox is OSS.

Quote:
Originally Posted by Person_1873
but can you install it as a standalone bootable system without a host?
Do you mean whether it is possible to have a normal running system first and then start it as part of your VM?

Check http://www.virtual-box.org/wiki/Migrate_Windows

jlinkels
 
  


Reply

Tags
api, virtualization, windows, wine


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
windows api in a linux distro???? ronanio Linux - Games 2 10-04-2005 08:57 AM
Is Licensed copy of Unix or Linux needs cash? pls compare with licensed windows.... nazib Linux - General 11 02-13-2005 03:20 PM
If Win32 is for WIndows than What is the API for Linux ? indian Programming 14 01-07-2005 02:28 PM
Need help finding linux equivalent to windows API functions: SHBrowseForFolder....etc mike1 Programming 2 11-11-2004 06:48 AM
Linux Equivalent for Windows API functions saravanan1979 Linux - General 10 06-18-2002 06:39 AM


All times are GMT -5. The time now is 07:46 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration