473,769 Members | 2,102 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Making a Application (.NET/C#) truely platform independant

Hi All,

We have a windows from application written in C#, there we have used Browser
COM and other basic libraries present in standard .NET/C# SDK. So the next
part is to make this appliaction available to Unix and Mac platform. I have
couple of questions here

1. What are the possibilities we have of doing some thing like this?
2. What are the technical chalenges we will face of doing this?
3. What are the direct indirect solution we have to achive our goal?
4. What short of support we can get from MONO, ROTOR, and WINE?

Please shade some light on these ........ I really appreciate it..
Add what ever comment you have becos we deadly need lots of ideas.

Thanks,
Regards,
Nirosh.
Nov 15 '05 #1
14 1979
1.Possibilities are very very high - Ximian is working on Mono project,
which is .NET framework for linux; I do cross windows / linux programming
and thus far it works and in some cases better then microsofts:)
2. Mac -... not sure about that, but considering that mac is running BSD
underneath, would not be surprised if Mono compiles there as well.
3. I have fears that .NET soon will be the only cross platform solution as
it looks like Sun might take Java down with it (would be a shame but hey -
that is another camp)
4. With Novell getting involved into Linux (and their recent purchase of
SuSe) they got to move somewhere (surely all of their products will move to
linux) but I would not be surprised if they start working on something that
will differentiate them from the rest of distributions (i.e. .NET? - this is
as wild guess as it gets.)
5. If you do develop cross platform get ready for the pain (no pivoke CLR
compliant code only)

"Champika Nirosh" <cn*****@textce ntric.lk> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
Hi All,

We have a windows from application written in C#, there we have used Browser COM and other basic libraries present in standard .NET/C# SDK. So the next
part is to make this appliaction available to Unix and Mac platform. I have couple of questions here

1. What are the possibilities we have of doing some thing like this?
2. What are the technical chalenges we will face of doing this?
3. What are the direct indirect solution we have to achive our goal?
4. What short of support we can get from MONO, ROTOR, and WINE?

Please shade some light on these ........ I really appreciate it..
Add what ever comment you have becos we deadly need lots of ideas.

Thanks,
Regards,
Nirosh.

Nov 15 '05 #2
Thanks Arthur for your detailful comment

"Arthur Mnev" <ar********@opt online-no-spam.net> wrote in message
news:u9******** ******@TK2MSFTN GP10.phx.gbl...
1.Possibilities are very very high - Ximian is working on Mono project,
which is .NET framework for linux; I do cross windows / linux programming
and thus far it works and in some cases better then microsofts:)
2. Mac -... not sure about that, but considering that mac is running BSD
underneath, would not be surprised if Mono compiles there as well.
3. I have fears that .NET soon will be the only cross platform solution as
it looks like Sun might take Java down with it (would be a shame but hey -
that is another camp)
4. With Novell getting involved into Linux (and their recent purchase of
SuSe) they got to move somewhere (surely all of their products will move to linux) but I would not be surprised if they start working on something that will differentiate them from the rest of distributions (i.e. .NET? - this is as wild guess as it gets.)
5. If you do develop cross platform get ready for the pain (no pivoke CLR
compliant code only)

"Champika Nirosh" <cn*****@textce ntric.lk> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
Hi All,

We have a windows from application written in C#, there we have used

Browser
COM and other basic libraries present in standard .NET/C# SDK. So the next part is to make this appliaction available to Unix and Mac platform. I

have
couple of questions here

1. What are the possibilities we have of doing some thing like this?
2. What are the technical chalenges we will face of doing this?
3. What are the direct indirect solution we have to achive our goal?
4. What short of support we can get from MONO, ROTOR, and WINE?

Please shade some light on these ........ I really appreciate it..
Add what ever comment you have becos we deadly need lots of ideas.

Thanks,
Regards,
Nirosh.


Nov 15 '05 #3
Hi,

If you want get things running, just use java works pretty nice and is very
similar to c#.
MONO, ROTOR, and WINE Takes years to get this stuff running, currently you can't do pretty much
nothing with them, you can run hello world.

See c# controls converted to java, looks exactly same as in .NET.
http://www.lumisoft.ee/lsWWW/Downloa...UI/testUI.html
"Champika Nirosh" <cn*****@textce ntric.lk> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. .. Hi All,

We have a windows from application written in C#, there we have used Browser COM and other basic libraries present in standard .NET/C# SDK. So the next
part is to make this appliaction available to Unix and Mac platform. I have couple of questions here

1. What are the possibilities we have of doing some thing like this?
2. What are the technical chalenges we will face of doing this?
3. What are the direct indirect solution we have to achive our goal?
4. What short of support we can get from MONO, ROTOR, and WINE?

Please shade some light on these ........ I really appreciate it..
Add what ever comment you have becos we deadly need lots of ideas.

Thanks,
Regards,
Nirosh.

Nov 15 '05 #4
Thanks for your thought but don't be too pessimistic about Mono and Wine as
well as ROTOR ..

WINE can run not only hello world but it can run Ms Office, Media player and
even some games..

MONO and ROTOR also not tiny as you described.

Thanks for the link but I think it has a problem, it didn't work for me

Yes as you said Java is a good option but I found that for XML processing
the power of C# is far better than Java (in general even c# seems to be much
faster than Java) and second is UI but you are saying it is not .. any way
once again thanks fo rthe comment

Nirosh.

"Ivar" <iv**@lumisoft. ee> wrote in message
news:Of******** ******@TK2MSFTN GP12.phx.gbl...
Hi,

If you want get things running, just use java works pretty nice and is very similar to c#.
MONO, ROTOR, and WINE

Takes years to get this stuff running, currently you can't do pretty much
nothing with them, you can run hello world.

See c# controls converted to java, looks exactly same as in .NET.
http://www.lumisoft.ee/lsWWW/Downloa...UI/testUI.html
"Champika Nirosh" <cn*****@textce ntric.lk> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
Hi All,

We have a windows from application written in C#, there we have used

Browser
COM and other basic libraries present in standard .NET/C# SDK. So the next part is to make this appliaction available to Unix and Mac platform. I

have
couple of questions here

1. What are the possibilities we have of doing some thing like this?
2. What are the technical chalenges we will face of doing this?
3. What are the direct indirect solution we have to achive our goal?
4. What short of support we can get from MONO, ROTOR, and WINE?

Please shade some light on these ........ I really appreciate it..
Add what ever comment you have becos we deadly need lots of ideas.

Thanks,
Regards,
Nirosh.


Nov 15 '05 #5
WINE can run not only hello world but it can run Ms Office, Media player and even some games.. Have tried it by yourself ? (very problematic to get things to work, avg
user can't handle it)
MONO and ROTOR also not tiny as you described. Agian have you tried it. Just see source their code, most part full of
todo:, because it even some simple apps won't work.
Thanks for the link but I think it has a problem, it didn't work for me it requires java 1.4.
the power of C# is far better than Java Is it power when it only runs on windows ?

I made big project in c#, now I feel "power" when converting it to java.
For multiplatform UI , java is best choiche.
second is UI but you are saying it is not .. any way Yes UI is slower, but usable.


"Champika Nirosh" <cn*****@textce ntric.lk> wrote in message
news:uU******** ******@tk2msftn gp13.phx.gbl... Thanks for your thought but don't be too pessimistic about Mono and Wine as well as ROTOR ..

WINE can run not only hello world but it can run Ms Office, Media player and even some games..

MONO and ROTOR also not tiny as you described.

Thanks for the link but I think it has a problem, it didn't work for me

Yes as you said Java is a good option but I found that for XML processing
the power of C# is far better than Java (in general even c# seems to be much faster than Java) and second is UI but you are saying it is not .. any way
once again thanks fo rthe comment

Nirosh.

"Ivar" <iv**@lumisoft. ee> wrote in message
news:Of******** ******@TK2MSFTN GP12.phx.gbl...
Hi,

If you want get things running, just use java works pretty nice and is

very
similar to c#.
MONO, ROTOR, and WINE

Takes years to get this stuff running, currently you can't do pretty much
nothing with them, you can run hello world.

See c# controls converted to java, looks exactly same as in .NET.
http://www.lumisoft.ee/lsWWW/Downloa...UI/testUI.html

"Champika Nirosh" <cn*****@textce ntric.lk> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
Hi All,

We have a windows from application written in C#, there we have used

Browser
COM and other basic libraries present in standard .NET/C# SDK. So the

next part is to make this appliaction available to Unix and Mac platform. I

have
couple of questions here

1. What are the possibilities we have of doing some thing like this?
2. What are the technical chalenges we will face of doing this?
3. What are the direct indirect solution we have to achive our goal?
4. What short of support we can get from MONO, ROTOR, and WINE?

Please shade some light on these ........ I really appreciate it..
Add what ever comment you have becos we deadly need lots of ideas.

Thanks,
Regards,
Nirosh.



Nov 15 '05 #6
Hi Ivar,

Yes I have tried it myself and I feel they are building nicely .. I mean you
cannot expect wonders over night and I still can remeber what we had with
Java 1.0.2. (but c# started with a lot), it has built into a strong stage
now and I have no argument with you on Java but my point is if C# can shift
it's power to other platforms as well it will definitely be better than Java
and c# xml manupulation is far far better than Java and we use lots of xml
since we basically in the e-learning sector. Java is not a choice for us.
You also agree on the average speed. So why not expect a change than holding
to the traditional end.

Nirosh.

"Ivar" <iv**@lumisoft. ee> wrote in message
news:#I******** ******@tk2msftn gp13.phx.gbl...
WINE can run not only hello world but it can run Ms Office, Media player

and
even some games..

Have tried it by yourself ? (very problematic to get things to work, avg
user can't handle it)
MONO and ROTOR also not tiny as you described.

Agian have you tried it. Just see source their code, most part full of
todo:, because it even some simple apps won't work.
Thanks for the link but I think it has a problem, it didn't work for me

it requires java 1.4.
the power of C# is far better than Java

Is it power when it only runs on windows ?

I made big project in c#, now I feel "power" when converting it to java.
For multiplatform UI , java is best choiche.
second is UI but you are saying it is not .. any way

Yes UI is slower, but usable.


"Champika Nirosh" <cn*****@textce ntric.lk> wrote in message
news:uU******** ******@tk2msftn gp13.phx.gbl...
Thanks for your thought but don't be too pessimistic about Mono and Wine

as
well as ROTOR ..

WINE can run not only hello world but it can run Ms Office, Media player

and
even some games..

MONO and ROTOR also not tiny as you described.

Thanks for the link but I think it has a problem, it didn't work for me

Yes as you said Java is a good option but I found that for XML processing
the power of C# is far better than Java (in general even c# seems to be

much
faster than Java) and second is UI but you are saying it is not .. any way once again thanks fo rthe comment

Nirosh.

"Ivar" <iv**@lumisoft. ee> wrote in message
news:Of******** ******@TK2MSFTN GP12.phx.gbl...
Hi,

If you want get things running, just use java works pretty nice and is

very
similar to c#.

>MONO, ROTOR, and WINE
Takes years to get this stuff running, currently you can't do pretty much nothing with them, you can run hello world.

See c# controls converted to java, looks exactly same as in .NET.
http://www.lumisoft.ee/lsWWW/Downloa...UI/testUI.html

"Champika Nirosh" <cn*****@textce ntric.lk> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
> Hi All,
>
> We have a windows from application written in C#, there we have used
Browser
> COM and other basic libraries present in standard .NET/C# SDK. So the next
> part is to make this appliaction available to Unix and Mac platform.

I have
> couple of questions here
>
> 1. What are the possibilities we have of doing some thing like this?
> 2. What are the technical chalenges we will face of doing this?
> 3. What are the direct indirect solution we have to achive our goal?
> 4. What short of support we can get from MONO, ROTOR, and WINE?
>
> Please shade some light on these ........ I really appreciate it..
> Add what ever comment you have becos we deadly need lots of ideas.
>
> Thanks,
> Regards,
> Nirosh.
>
>



Nov 15 '05 #7
COM is not platform independant, COM is a Microsoft technology.

Anything under System.* namespaces SHOULD be platform neutral .

"Champika Nirosh" <cn*****@textce ntric.lk> wrote in message
news:#5******** ******@TK2MSFTN GP11.phx.gbl...
Hi All,

We have a windows from application written in C#, there we have used Browser COM and other basic libraries present in standard .NET/C# SDK. So the next
part is to make this appliaction available to Unix and Mac platform. I have couple of questions here

1. What are the possibilities we have of doing some thing like this?
2. What are the technical chalenges we will face of doing this?
3. What are the direct indirect solution we have to achive our goal?
4. What short of support we can get from MONO, ROTOR, and WINE?

Please shade some light on these ........ I really appreciate it..
Add what ever comment you have becos we deadly need lots of ideas.

Thanks,
Regards,
Nirosh.

Nov 15 '05 #8
Thanks for the reply any thought on how we can get the Browser COM work in
MAC?

<.> wrote in message news:#J******** ******@TK2MSFTN GP10.phx.gbl...
COM is not platform independant, COM is a Microsoft technology.

Anything under System.* namespaces SHOULD be platform neutral .

"Champika Nirosh" <cn*****@textce ntric.lk> wrote in message
news:#5******** ******@TK2MSFTN GP11.phx.gbl...
Hi All,

We have a windows from application written in C#, there we have used

Browser
COM and other basic libraries present in standard .NET/C# SDK. So the next part is to make this appliaction available to Unix and Mac platform. I

have
couple of questions here

1. What are the possibilities we have of doing some thing like this?
2. What are the technical chalenges we will face of doing this?
3. What are the direct indirect solution we have to achive our goal?
4. What short of support we can get from MONO, ROTOR, and WINE?

Please shade some light on these ........ I really appreciate it..
Add what ever comment you have becos we deadly need lots of ideas.

Thanks,
Regards,
Nirosh.


Nov 15 '05 #9
You won't. Browsers and other interop are often the biggest platform
compatibility issues you'll have. While COM is not soley tied to windows,
most, if not all other systems do not run COM normally(there are COM
implementations for unix, probably macs as well). As a result you will have
alot of work to get things going.
What are you attempting to do? If you just want to host the browser locally,
you could look into embedding mozilla or another OSS browser(assumin g
licensing will suit you). If you need automation you will hav eto invest in
platform specific modules(which can be tricky, mono annoyingly claims to be
windows XP) which performs the work for you. How are you interfacing with
say Mozilla now? Or are you totally dependent on IE?
"Champika Nirosh" <cn*****@textce ntric.lk> wrote in message
news:eA******** ******@TK2MSFTN GP11.phx.gbl...
Thanks for the reply any thought on how we can get the Browser COM work in
MAC?

<.> wrote in message news:#J******** ******@TK2MSFTN GP10.phx.gbl...
COM is not platform independant, COM is a Microsoft technology.

Anything under System.* namespaces SHOULD be platform neutral .

"Champika Nirosh" <cn*****@textce ntric.lk> wrote in message
news:#5******** ******@TK2MSFTN GP11.phx.gbl...
Hi All,

We have a windows from application written in C#, there we have used

Browser
COM and other basic libraries present in standard .NET/C# SDK. So the next part is to make this appliaction available to Unix and Mac platform. I

have
couple of questions here

1. What are the possibilities we have of doing some thing like this?
2. What are the technical chalenges we will face of doing this?
3. What are the direct indirect solution we have to achive our goal?
4. What short of support we can get from MONO, ROTOR, and WINE?

Please shade some light on these ........ I really appreciate it..
Add what ever comment you have becos we deadly need lots of ideas.

Thanks,
Regards,
Nirosh.



Nov 15 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
56697
by: Anon Email | last post by:
Hi everyone, Let's see, now. This question is about the capabilities of ANSI C++. I want to write and compile code in ANSI C++ that, when compiled, will make the computer speaker beep; or, at least, SHOULD make the computer speaker beep. I know that whether the computer speaker actually beeps or not is largely dependent on the OS I'm using. But I'm not so much concerned about that (at this stage). I just want to know if ANSI C++...
11
2247
by: Paul Tremblay | last post by:
Hi, Is there a way to ensure that only one instance of an application runs on a physical machine. I would want to do this in a cross platform way. One ide I have is to obtain a list of the running processes and checking the list - but then (presumably), the checking code would always be on the list - so this defeats the point somewhat. Any ideas?
3
2144
by: nrhayyal | last post by:
Hi All, thanks for reading this post. just wanted to know about the ratio of threads and processors. i am working on c++ on AIX5.2 platform. my c++ program are multithreaded programs. In a multithreaded application,should no of processors be equal to no of threads ? if we set the thread_scope to system( meaning 1 kernel thread to 1
4
1568
by: Navin Mishra | last post by:
Hi, Are there any implications of having ASMX and ASPX in same ASP.NET application ? Both would share the same global varriables, etc. Regards Navin
4
1249
by: Nader | last post by:
Is it possible to make, build and deploy a windows .Net application which can be installed in any pc without installing .Net framework on it?? In VB6 it's possible because you can deliver the .dll files with the setup file togather(in the same folder). It's a pity if it's not possible with VS .Net.
16
3926
by: Andy | last post by:
Hi, I have read that 'C' is platform-independent and portable. I can'tsee much a difference between the two terms. Could anyone differentiate the two? Also is the statement actually true? Thanks Andy
9
16148
by: SeC | last post by:
Hi. Is there any way to detect if application is being killed by 'End Process' via Task Manager ?
4
4185
by: archana | last post by:
Hi all, can anyone tell me does dot net platform independent? Why can't i run dot net on unix operating system?. thanks in advance.
2
1483
by: sono | last post by:
1. I am looking which HTML CODE is AS GENERAL AS POSSIBLE (i.e. independant of platform and browser). 2. To be more explicit : 2.a) I am writing HTML code which I would like to run on ALL possible platforms (PC, Mac, UNIX, …) and browsers (Safari, IE, Netscape, …) or at least as many as possible. 2.b) I use as well hyphens (in names with hyphens for hyphenation, etc.) as en-dashes - for a comment within a text like this one - and also...
0
9579
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10038
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9857
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8867
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7404
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6662
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5444
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3952
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2812
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.