Something Real
Well, I've received no comments on my blog yet. Obviously, the lack of pictures is the cause. In order to remedy that, I'm posting a screenshot of the COM Interop in mono doing something real. The mono runtime is launched through Visual Studio. It runs a simple C# program that creates an Excel application, displays it, and adds a workbook.Spent alot of time working on VARIANT marshalling. And this little attribute caused me major pain trying to get the Excel sample working.
Labels: mono


16 Comments:
Good job!
Hello, I see you are using Visual Studio to develop Mono applications.
How ???
Exists a guide ?
Regards, Federico (federico.giampietro@poste.it)
federico,
If you mean C# applications, anything you write should run on mono. I'm using Visual Studio to build/debug the mono runtime itself as I'm adding COM Interop support.
Sorry Jonathan,
I had misinterpreted the images.
I hoped was a way in order to develop mono applications with visual studio that has a powerful debugger and code designer.
I'm tryng to port on Linux a very complex application, but it is impossible using MonoDevelop.
Can you tell me if I can get a copy of Mono projec in Visual Studio format ?
I would be happy for studying of sources and also to give some help
great!!!
Is this a coordinated effort with what Zac Bowling is doing for XPCOM? His plan. Anyway, keep up the good work, it's much appreciated.
-woo
So is it possible to run RCW packaged COM's under linux ? Or would it be possible in future ?
So is it possible to run RCW packaged COM's under linux ? Or would it be possible in future ?
Hi Jonathan,
did you see the OpenOffice.org UNO-.Net bridge
(managed C++) and the not-quite-finished-but-good-for-screenshots mono port of it (C# and C)?
It's also heavily based on remoting stuff like RealProxy, etc.
Hello Jonathan,
May you include the source code and command line arguments for mono mcs?.
I have tried this code:
using System;
using Microsoft.Office.Interop.Excel;
public class ExcelDemo {
public static void Main ()
{
Microsoft.Office.Interop.Excel.Application app = new Microsoft.Office.Interop.Excel.Application();
Console.WriteLine("Version is {0}.", app.Version);
}
}
I have compiled it:
mcs exceldemo.cs -r:
But I have got a message box with "** ERROR **: Method 'Microsoft.Office.Interop.Excel.ApplicationClass:.ctor()' in assembly '...\Microsoft.Office.Interop.Excel.dll contains native code and mono can't run it. The assembly was probably created by Managed C++".
Sorry. The command line is:
mcs exceldemo.cs -r:System.Office.Interop.Excel.dll
Mono version is 1.1.13.
Is there a beta version of your new software available anywhere? I looked on mono-project.com but could not find it.
Sorry, I've been away for a while. To answer some questions.
martin: I've seen that. My goal is to get COM Interop working on windows. Then, XPCOM Interop on supported platforms. Finally, other component technologies like Uno. Hopefully, I can put together some API for handling various unmanaged component technologies.
anonymous and Tom: my work has not yet made it into mono. I'm finishing my Master's thesis in March. After that, I should have alot more time to devote to this. There was a patch posted to the mono-devel list a while ago, that can give you an idea of what my status is.
Hi Jonathan,
This is another Jonathan Chambers. I run an English as a Second Language Department at Shanghai American School in China. We're much more end-users of data analysis apps, but it's always interesting to see what's happening in the development cycle.
I like the fact that you're progressively sharing your experience with coding.
Thanks.
OMG THAT IS TEH AWESOME!!1
hi frnd, you done greate job!!
have u any knoledge of web based c compiler..then make my contect!!
at dinesh.rathod@hotmail.com
Post a Comment
<< Home