PDA

View Full Version : [ubuntu] win 32 api



Abdel_eid
March 10th, 2010, 11:24 AM
hey guys i am using ubuntu 9.10 and i am using netbeans c++ compiler but i 'm facing a great problem which is when working on a windows application on windows os it use win32 api which is not found on ubuntu linux so is there any alternatives.thanks alot

shriramrs31
March 10th, 2010, 11:54 AM
you can get many windows apps to run on linux with wine. If your windows app uses some special hardware, you need to look in cross-platform development direction. you can seperate application and hardware interface in your project. use a cross platform framework for application part (like qt, or .NET with mono) and implement hardware part once for windows and once for linux.

Mark Phelps
March 10th, 2010, 09:28 PM
Maybe I'm misunderstanding your question, but in my own experiences, APIs are used for Development. So, this is NOT the same as running Windows Apps using Wine, this is doing Windows development in Linux.

Thus, if you're asking can you use the Win 32 API to do development in Linux, I would have to say NO.

But, I've not actually tried it, so I defer to others who have ...