Results 1 to 5 of 5
Hi all
I am very new for the Linux. I developed windows services and it is running on my Machine. Currently I am using Windows XP Service pack2 Operating System. ...
- 01-24-2011 #1Just Joined!
- Join Date
- Jan 2011
- Posts
- 1
Create Windows Services on Linux
Hi all
I am very new for the Linux. I developed windows services and it is running on my Machine. Currently I am using Windows XP Service pack2 Operating System. My requirement is how to execute the same windows service on Linux Machine. I installed Linux Version 2.6 on my machine. Please help me.
- 01-24-2011 #2
Short version: Forget it.
Long version: You cannot easily run programs designed and compiled for one operating system on another OS.
Sure, there is wine .That may or may not let you start a windows program in linux, but even then the program might not run completely as expected.
Also, wine is meant for desktop programs at most.
I wouldnt even consider it as a way to provide servers (services).
But, as you are the developer, and therefore have access to the source:
Maybe you can write a native version?
Beware: Depending on how complex that service is and how many platform depended code is in there, this might as well be a complete rewrite.You must always face the curtain with a bow.
- 01-24-2011 #3Just Joined!
- Join Date
- Nov 2010
- Posts
- 61
If you have the source, compile it for linux. Simples.
- 01-26-2011 #4
If it is .net based then you could have a look at mono (Main Page - Mono) but there may still be some re-development needed. And depending on the system calls, it may not work at all.
If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
- 01-27-2011 #5Just Joined!
- Join Date
- Mar 2007
- Location
- Bogotá, Colombia
- Posts
- 39


Reply With Quote
