Re: [Mono-list] Problem with files in apache-temp-aspnet-0

2007-12-06 Thread Nicola Dell'Amico
Kevin Flanagan wrote:
> Bah - suppose this kind of thing is only to be expected moving from one
> distro to another. Yes, tmpwatch was set to run daily on /tmp. Stopping that
> seems likely to sort it.
> 
> Thanks.
> 
> Kevin.
> 
> 
> -Message d'origine-
> De : Marek Habersack [mailto:[EMAIL PROTECTED]
> Envoye : 06 December 2007 22:22
> A : Kevin Flanagan
> Cc : mono-list@lists.ximian.com
> Objet : Re: [Mono-list] Problem with files in apache-temp-aspnet-0
> 
> 
> On Thu, 6 Dec 2007 22:13:56 -, "Kevin Flanagan"
> <[EMAIL PROTECTED]>
> scribbled:
> 
>> Environment: Mono 1.2.4, mod_mono 1.2.4, Fedora Core 5, ASP.NET 1.1,
>> Apache/2.2.2 running virtual domains configured with Plesk 8.2.0 and
>> autohosting with mod_mono.conf
> [snip]
>> Bottom line is, what's going on with the compiled files, and why do I end
> up
>> with that error page?
> My guess is you have a cronjob which periodically (once a week?) cleans up
> your /tmp directory and its subdirectories. Hunt around /etc/cron* for
> clues.
> 
> best regards,
> 
> marek
> 
> 
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list

Hi Kevin,

I hope you have solved but It sounds like the issue I coped with some
time ago.
I opened a bug (https://bugzilla.novell.com/show_bug.cgi?id=324783) for
that and now it seems to be fixed on rev 1.2.5.1
I haven't tested 1.2.5.1 yet. I 'm still on rev 1.2.3.1, which works
fine for me  it seems an issue with rev 1.2.4 and, FC5, Apache 2.2.2
... your configuration and mine seems look like the same.

In my test case rev 1.2.3.1 works fine while 1.2.4 gives the error, and
without any modification to cron jobs.

Nicola


http://www.ndatech.it
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] First Posting..

2007-12-06 Thread Mads Bondo Dydensborg
torsdag 06 December 2007 skrev Gavin Landon:
> Hope this is the right list, general right?..   Just though I would say
> hey after just signing up.
> 
> I work for a company that is starting to redesign our VC6 Windows client
> software to run cross platform.   We have just recently downloaded and
> started playing with Mono so I figured I best get on some list of people
> that know what they are doing since I'm a unix/mac nub.. 

Welcome abord then :-)

I think we are several people in the sort of position - crossplatform at 
least.

In my experience, most of the very technical discussion actually take place on 
mono-devel though.

Regards,

Mads

-- 
Med venlig hilsen/Regards

Systemudvikler/Systemsdeveloper cand.scient.dat, Ph.d., Mads Bondo Dydensborg
Dansk BiblioteksCenter A/S, Tempovej 7-11, 2750 Ballerup, Tlf. +45 44 86 77 34

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Problem installing Mono on SuSE 9.3

2007-12-06 Thread Wade Berrier
Hi Bryon,

We used to support mono on suse 9.3, but no longer.  Base mono tools
from the linux installer will work on 9.3, but monodevelop will not.

If you want to get it working on suse, please try a supported version
(preferably 10.3).

Good luck!

Wade 


On Tue, 2007-12-04 at 10:16 -0500, Byron King wrote:
> I attempted to install a release via YAST and got only so far.  With
> each new component, I was required to add something else that was
> missing.  SuSE is killing me!
> 
> For giggles, I attempted the install on an Ubuntu 7.10 box using
> Synaptic; it worked!  After the install, I created a simple ASP.NET
> project.  On build attempt, the sample code (a textbox and a button)
> failed to compile.  The complaint was that the textbox was nt a part
> of the Default.aspx.cs class.  Give me a break!  I tried
> deleting/re-adding the textbox, but the error persisted.  
> 
> Has anyone else seen this?  Thanks!
> 
> On Nov 29, 2007 3:13 PM, Richard Couture < [EMAIL PROTECTED]>
> wrote:
>  
> BTW, you may want to use the following link instead. It is for
> the latest preview 1.2.6. 
>  
> ---
> You can get the preview releases here:
> http://mono.ximian.com/monobuild/preview/download-preview/
> ---
> 
> 
> 
> __
> 
>  Richard Couture 
> www.BeauWare.com   ...pour une solution à votre
> mesure 
> 
> __
> 
> 
> 
> 
> __
> Date: Thu, 29 Nov 2007 11:28:39 -0500
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Re: [Mono-list] Problem installing Mono on
> SuSE 9.3
> CC: mono-list@lists.ximian.com
> 
> 
> 
> Richard,
> 
> Thanks for the suggestions!  I will try this tonight
> and then report back! 
> 
> Cheers,
> 
> Byron
> 
> On Nov 29, 2007 11:19 AM, Richard Couture <
> [EMAIL PROTECTED]> wrote:
> Hi,
>  
> I have run into similar problem. (not
> same .so). Where are you installing from. Did
> you download the bin file?. If so, you won't
> see the end of it. I have finally use yast.
> See this link:
>  
> http://www.go-mono.com/download-stable/sles-9-i586/
>  
> follow the top instruction :
> ---
> This distro supports installing packages via
> YaST. Add the following installation source to
> YaST: 
>   * 
> http://go-mono.com/download-stable/sles-9-i586 
> 
> For assistance with using repositories and
> installing packages with YaST, visit this
> link: [1] 
>  
> ---
>  
> You will need to add that link
> (http://go-mono.com/download-stable/sles-9-i586 ) in 
> yast
> installation source. See this link: [1] for
> help.
>  
> The installation is done on-line with Yast and
> if it needs missing lib, it will find them on
> the net. 
>  
> This is the only working method I found.
>  
> Good luck.
>  
> 
> 
> 
> 
> 
> __
> From: [EMAIL PROTECTED]
> To: mono-list@lists.ximian.com
> Date: Thu, 29 Nov 2007 10:07:36 -0500 
> Subject: [Mono-list] Problem
> installing Mono on SuSE 9.3 
> 
> 
> Hello.  I am running SuSE 9.3 and want
> 

Re: [Mono-list] Problem with files in apache-temp-aspnet-0

2007-12-06 Thread Kevin Flanagan
Bah - suppose this kind of thing is only to be expected moving from one
distro to another. Yes, tmpwatch was set to run daily on /tmp. Stopping that
seems likely to sort it.

Thanks.

Kevin.


-Message d'origine-
De : Marek Habersack [mailto:[EMAIL PROTECTED]
Envoye : 06 December 2007 22:22
A : Kevin Flanagan
Cc : mono-list@lists.ximian.com
Objet : Re: [Mono-list] Problem with files in apache-temp-aspnet-0


On Thu, 6 Dec 2007 22:13:56 -, "Kevin Flanagan"
<[EMAIL PROTECTED]>
scribbled:

> Environment: Mono 1.2.4, mod_mono 1.2.4, Fedora Core 5, ASP.NET 1.1,
> Apache/2.2.2 running virtual domains configured with Plesk 8.2.0 and
> autohosting with mod_mono.conf
[snip]
> Bottom line is, what's going on with the compiled files, and why do I end
up
> with that error page?
My guess is you have a cronjob which periodically (once a week?) cleans up
your /tmp directory and its subdirectories. Hunt around /etc/cron* for
clues.

best regards,

marek


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Problem with files in apache-temp-aspnet-0

2007-12-06 Thread Marek Habersack
On Thu, 6 Dec 2007 22:13:56 -, "Kevin Flanagan" <[EMAIL PROTECTED]>
scribbled:

> Environment: Mono 1.2.4, mod_mono 1.2.4, Fedora Core 5, ASP.NET 1.1,
> Apache/2.2.2 running virtual domains configured with Plesk 8.2.0 and
> autohosting with mod_mono.conf
[snip]
> Bottom line is, what's going on with the compiled files, and why do I end up
> with that error page?
My guess is you have a cronjob which periodically (once a week?) cleans up
your /tmp directory and its subdirectories. Hunt around /etc/cron* for clues.

best regards,

marek


signature.asc
Description: PGP signature
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Problem with files in apache-temp-aspnet-0

2007-12-06 Thread Kevin Flanagan
Environment: Mono 1.2.4, mod_mono 1.2.4, Fedora Core 5, ASP.NET 1.1,
Apache/2.2.2 running virtual domains configured with Plesk 8.2.0 and
autohosting with mod_mono.conf

I'm hitting a strange problem, which seems Mono-related. Yes, it's not the
latest version of Mono, but as it takes time to reproduce, I'd like to see
if it sounds familiar to anyone before trying an upgrade (which might itself
be problematic).

I have a fairly simple ASP.NET 1.1 site. If I stop Apache and clear out any
files in apache-temp-aspnet-0, then start Apache again, the whole site works
fine - pages get compiled, and apache-temp-aspnet-0/de7a68cf ends up with a
file list like this:

total 214
-rwx--   1 apache   apache   8704 Nov 27 11:18 1aeb663d.dll
-rw---   1 apache   apache   1498 Nov 27 11:18 1aeb663d.dll.mdb
-rwx--   1 apache   apache   7168 Nov 27 11:20 3c40786.dll
-rw---   1 apache   apache   2059 Nov 27 11:20 3c40786.dll.mdb
-rwx--   1 apache   apache   4096 Nov 27 11:17 3e64f299.dll
-rw---   1 apache   apache   1200 Nov 27 11:17 3e64f299.dll.mdb
-rwx--   1 apache   apache   9216 Nov 27 11:18 46de8d9a.dll
-rw---   1 apache   apache   3146 Nov 27 11:18 46de8d9a.dll.mdb
-rwx--   1 apache   apache  15872 Nov 27 11:17 476c84c3.dll
-rw---   1 apache   apache   5100 Nov 27 11:17 476c84c3.dll.mdb
-rwx--   1 apache   apache   7168 Nov 27 11:17 4841f265.dll
-rw---   1 apache   apache   1592 Nov 27 11:17 4841f265.dll.mdb
-rwx--   1 apache   apache  14848 Nov 27 11:19 491f78ae.dll
-rw---   1 apache   apache   7641 Nov 27 11:19 491f78ae.dll.mdb
-rwx--   1 apache   apache   5120 Nov 27 11:17 4e94031b.dll
-rw---   1 apache   apache   1328 Nov 27 11:17 4e94031b.dll.mdb
-rwx--   1 apache   apache   7168 Nov 27 11:18 5e57bf0d.dll
-rw---   1 apache   apache   2210 Nov 27 11:18 5e57bf0d.dll.mdb
-rwx--   1 apache   apache   3072 Nov 27 11:17 5fe7fe0a.dll
-rw---   1 apache   apache470 Nov 27 11:17 5fe7fe0a.dll.mdb
-rwx--   1 apache   apache  24064 Nov 27 11:18 6e6a47b6.dll
-rw---   1 apache   apache  17367 Nov 27 11:18 6e6a47b6.dll.mdb
-rwx--   1 apache   apache  11264 Nov 27 11:17 707735ba.dll
-rw---   1 apache   apache   5672 Nov 27 11:17 707735ba.dll.mdb
-rwx--   1 apache   apache  17920 Nov 27 11:17 7b13360f.dll
-rw---   1 apache   apache  11599 Nov 27 11:17 7b13360f.dll.mdb
-rwx--   1 apache   apache   4096 Nov 27 11:17 ab44f69.dll
-rw---   1 apache   apache   1223 Nov 27 11:17 ab44f69.dll.mdb
drwx--   3 apache   apache   1024 Nov 27 11:17 assembly

Everything runs ok for a while. However, if I come back to the site a week
or two later, the 'home' page still shows ok, but various other pages don't
work, producing errors in the browser like this:

[begin browser output]
Server Error in '/' Application




Compilation Error
Description: Error compiling a resource required to service this request.
Review your source file and modify it to fix this error.

Error message:

(0,0) : error CS0006: cannot find metadata file
`/tmp/apache-temp-aspnet-0/de7a68cf/ac08638.dll'
(0,0) : error CS0006: cannot find metadata file
`/tmp/apache-temp-aspnet-0/de7a68cf/14f3306.dll'

[end browser output]

At that point, the directory list for apache-temp-aspnet-0/de7a68cf has
radically changed, looking like this:

total 57
-rwx--   1 apache   apache   5120 Dec  3 11:49 1233a162.dll
-rw---   1 apache   apache   1328 Dec  3 11:49 1233a162.dll.mdb
-rwx--   1 apache   apache   7168 Dec  3 11:49 13268ca6.dll
-rw---   1 apache   apache   1592 Dec  3 11:49 13268ca6.dll.mdb
-rwx--   1 apache   apache   4096 Dec  3 11:49 2e655069.dll
-rw---   1 apache   apache   1224 Dec  3 11:49 2e655069.dll.mdb
-rwx--   1 apache   apache  17920 Dec  3 11:49 5c751a64.dll
-rw---   1 apache   apache  11599 Dec  3 11:49 5c751a64.dll.mdb
-rwx--   1 apache   apache   3072 Dec  3 11:49 87cc349.dll
-rw---   1 apache   apache469 Dec  3 11:49 87cc349.dll.mdb

If I look at my httpdocs directory and subdirectories like App_Code, none of
the file timestamps shows any recent change.

I thought compiled files in apache-temp-aspnet-0 would remain unchanged
unless source files changed (which they haven't) or that if for some reason
they all got removed (which they have) they'd get rebuilt (as some of them
seem to have) rather than errors occuring. I also thought the relationship
between source file name and location, and compiled file, was the result of
a deterministic hashing algorithm, but given the changes in filenames above,
maybe I heard that wrong.

Bottom line is, what's going on with the compiled files, and why do I end up
with that error page?

Any leads or information much appreciated.

Kevin.



_

[Mono-list] First Posting..

2007-12-06 Thread Gavin Landon
Hope this is the right list, general right?..   Just though I would say
hey after just signing up.

I work for a company that is starting to redesign our VC6 Windows client
software to run cross platform.   We have just recently downloaded and
started playing with Mono so I figured I best get on some list of people
that know what they are doing since I'm a unix/mac nub.. 


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] GTK# on Windows since Mono 1.2...

2007-12-06 Thread David Cantin
Hi, I have a similar problem than you with my gtk# applications on Windows. 
But, I was able to solve your test case by using the gtk-sharp-2.10 assembly 
instead of gtk-sharp.

So use 
mcs -pkg:gtk-sharp-2.10 test2.cs 
instead of 
mcs -pkg:gtk-sharp test2.cs

But, that didn't solve mine. I'm trying to create a simple test case. But my 
bug is difficult to reproduce in a simple application... anyway.. maybe more on 
that later.

David

Le mercredi 28 novembre 2007 à 12:17 -0500, Philip Covington a écrit :
> Hello,
> 
> I am using GTK# with Mono on Windows.  The following test program
> works on Mono versions 1.2 and older.  On Mono versions 1.2.1 and
> later (all the way to 1.2.5.2) when I click the button widget, I get
> an error (see below).  I have included the test app (test2.cs) and the
> command line arguments used to compile it below.  I have the exact
> same problem with Glade#.  The test program is copied off of the GTK#
> tutorial page.
> 
> This seems to be a problem since 1.2.1, but I was surprised not to
> have found any information about this problem in searching around.
> Should I be using GTK# on Windows or is no one actually using it on
> Windows (hence no bug report)?
> 
> Thanks,
> Phil Covington
> http://www.philcovington.com
> 
> -
> test2.cs:
> -
> using Gtk;
> using System;
> 
> public class ButtonApp  {
> 
>  public static int Main (string[] args)
>  {
>   Application.Init ();
>   Window win = new Window ("Button Tester");
>   win.SetDefaultSize (200, 150);
>   win.DeleteEvent += new DeleteEventHandler (Window_Delete);
>   Button btn = new Button ("Click Me");
>   btn.Clicked += new EventHandler (btn_click);
>   win.Add (btn);
>   win.ShowAll ();
>   Application.Run ();
>   return 0;
>  }
> 
>  static void btn_click (object obj, EventArgs args)
>  {
>   Console.WriteLine ("Button Clicked");
>  }
> 
>  static void Window_Delete (object obj, DeleteEventArgs args)
>  {
>   Application.Quit ();
>   args.RetVal = true;
>  }
> }
> -
> 
> test2.cs compiled with:
> 
> >mcs -pkg:gtk-sharp test2.cs
> 
> run:
> 
> >mono test2.exe
> 
> 
> Mono 1.2:
> 
> C:\Data\project>mono test2.exe
> Button Clicked
> Button Clicked
> Button Clicked
> Button Clicked
> 
> C:\Data\project>
> 
> -
> Mono 1.2.1:
> 
> C:\Data\project>>mono test2.exe
> Button Clicked
> 
> =
> Got a SIGSEGV while executing native code. This usually indicates
> a fatal error in the mono runtime or one of the native libraries
> used by your application.
> =
> 
> Stacktrace:
> 
>   at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x4>
>   at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x>
>   at Gtk.Application.Run () <0x7>
>   at ButtonApp.Main (string[]) <0x000f2>
>   at (wrapper runtime-invoke) System.Object.runtime_invoke_int_string[] 
> (object,
> intptr,intptr,intptr) <0x>
> 
> This application has requested the Runtime to terminate it in an unusual way.
> Please contact the application's support team for more information.
> 
> C:\Data\project>
> ---
> 
> Mono 1.2.5.2:
> 
> 
> C:\Data\project>mono test2.exe
> Button Clicked
> Stacktrace:
> 
>   at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x4>
>   at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x>
>   at Gtk.Application.Run () <0x7>
>   at ButtonApp.Main (string[]) <0x000ee>
>   at (wrapper runtime-invoke) ButtonApp.runtime_invoke_int_string[] 
> (object,intp
> tr,intptr,intptr) <0x>
> 
> This application has requested the Runtime to terminate it in an unusual way.
> Please contact the application's support team for more information.
> 
> C:\Data\project>
> ---
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] mcs for the 2.0 framework

2007-12-06 Thread shawn vose
That is great news. I only want to see if my stuff will build but it
certainly is not mission critical as I have already put in place some
preprocessor directives for when I build for mono. I wish I was enough of a
programmer to be able to approach some sort of assistance in contributing to
LINQ support in mono. So I figure at the very least I could provide bug
reports should I come across any.

Thanks again for all the responses.


On Dec 6, 2007 12:26 PM, Miguel de Icaza <[EMAIL PROTECTED]> wrote:

>
> > what is the name of the command I would need to use to compile for the
> > 2.0 framework? Would this also be the same for any code I have written
> > that has some very simple LINQ in it?
>
> LINQ is only now starting to get supported, so I would wait for 1.2.6 to
> get the basics in place.
>
> Once you get it, you need to pass the -langversion:linq command line
> option to gmcs for it to work.
>
> > ___
> > Mono-list maillist  -  Mono-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
>
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] mcs for the 2.0 framework

2007-12-06 Thread Miguel de Icaza

> what is the name of the command I would need to use to compile for the
> 2.0 framework? Would this also be the same for any code I have written
> that has some very simple LINQ in it?

LINQ is only now starting to get supported, so I would wait for 1.2.6 to
get the basics in place.

Once you get it, you need to pass the -langversion:linq command line
option to gmcs for it to work.

> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] mcs for the 2.0 framework

2007-12-06 Thread Jonathan Pryor
On Thu, 2007-12-06 at 10:25 -0500, shawn vose wrote:
> what is the name of the command I would need to use to compile for the
> 2.0 framework? Would this also be the same for any code I have written
> that has some very simple LINQ in it?

Daniel Soto already mentioned using gmcs for the 2.0 framework.

For LINQ, you need to pass `-langversion:LINQ' as a compiler flag, e.g.:

gmcs -langversion:LINQ your-linq-file.cs

 - Jon


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] mcs for the 2.0 framework

2007-12-06 Thread shawn vose
Thank you sir.


On Dec 6, 2007 10:48 AM, Daniel Soto <[EMAIL PROTECTED]> wrote:

> gmcs is the compiler for 2.0 framework.
>
> Regards.
>
>
> 2007/12/6, shawn vose <[EMAIL PROTECTED]>:
> >
> > what is the name of the command I would need to use to compile for the
> > 2.0 framework? Would this also be the same for any code I have written
> > that has some very simple LINQ in it?
> >
> > ___
> > Mono-list maillist  -  Mono-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >
> >
>
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] mcs for the 2.0 framework

2007-12-06 Thread Daniel Soto
gmcs is the compiler for 2.0 framework.

Regards.


2007/12/6, shawn vose <[EMAIL PROTECTED]>:
>
> what is the name of the command I would need to use to compile for the 
> 2.0framework? Would this also be the same for any code I have written that has
> some very simple LINQ in it?
>
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] mcs for the 2.0 framework

2007-12-06 Thread shawn vose
what is the name of the command I would need to use to compile for the
2.0framework? Would this also be the same for any code I have written
that has
some very simple LINQ in it?
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Using GDB with C#

2007-12-06 Thread John M. Anderson
On Dec 6, 2007 4:11 AM, Dan Smithers <[EMAIL PROTECTED]> wrote:

> Thanks John,
> this is the sort of information that ought to be on the website somewhere.
> I'm still a bit stuck because when I run mndb it shows an error in
> mndb.gdbinit on line 387 which is
>
> watch mono_debugger_notification_function
>
> Is this an issue with my mono version?
>
> thanks
>
> dan
>

Yeah, You should try with mono from svn
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Delphi 2007 .net (highlander)

2007-12-06 Thread Engler, Eric
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

> Programs generated by Delphi 2007 .net (highlander) can run with mono?

I think so, but I don't know if Borland's Data Provider or their VCL for
.NET would work under Mono. If you stick with Framework classes you have
a good chance of success.

You can get the Moma program and run it against your Delphi .NET
assemblies to identify any serious compatibility issues. 

Eric


NOTICE:  The information contained in this electronic mail transmission is 
intended by the sender for the sole use of the named individual or entity to 
which it is directed and may contain information that is privileged or 
otherwise confidential.  Please do not copy it or use it for any purposes, or 
disclose its contents to any other person.  To do so could violate state and 
Federal privacy laws.  If you have received this electronic mail
transmission in error, please delete it from your system without copying or 
forwarding it, and notify the sender of the error by reply email or by 
telephone, so that the sender's address records can be corrected.  Thank you 
for your cooperation.

-BEGIN PGP SIGNATURE-
Version: PGP Universal 2.6.2
Charset: us-ascii

wsBVAwUBR1gMUshfyUs+le7yAQgoogf/RWDENy9sHGAw81/dNaubhQvztH+bWGBC
yroJkj0+3Y3kLnwH/791YBu4gV1mg7MCG0yEN0rTh/0TCX5Q9a/UceVqXtB1Ib5k
4Orqxva/7GLOzB2nqqTs3di7CjgXlFauG0fKgbxIqn0t+RUOPDV7m96ltCbTT9l/
aTGS5N0nda9qIfwxxf5CinqyK9zR5LS3RfCt3plUS521YalG3ZHHs3c4CmR9WLUf
f5eVuhueGrdFRS6iNTsIgLbGCHr63zYsvtHA5NH8BUnrco8pdAxDL8QY0R+lQcOb
zQG1G3fE/tVTZTPf/jS+ijmExxU8o0GHDM3Ep8omq0Emt9ZdZnr7ZQ==
=1lmH
-END PGP SIGNATURE-
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Com Interop

2007-12-06 Thread Jonathan Pryor
On Thu, 2007-12-06 at 19:30 +1000, Adelle Hartley wrote:
> When i try to use the same DLLs in a C# project in Mono, via COM 
> interop, it works on Windows but not Linux.  Ok, I'm not exactly 
> surprised, but is there some way of getting Mono to instantiate a COM 
> object using wine?

Theoretically, yes.  Currently, no.

The way it _could_ be done is to run a Win32 mono inside Wine.  This
would make Mono use the normal Windows COM support methods and Wine's
COM framework to instantiate and use your DLLs.

The problem is that Mono doesn't currently run inside Wine (unless this
has changed recently).  I don't know why, and I don't think anyone is
currently looking into it.  You might try asking the Wine people why...

 - Jon


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Using GDB with C#

2007-12-06 Thread Dan Smithers
Thanks John,
this is the sort of information that ought to be on the website somewhere.
I'm still a bit stuck because when I run mndb it shows an error in
mndb.gdbinit on line 387 which is

watch mono_debugger_notification_function

Is this an issue with my mono version?

thanks

dan

John M. Anderson wrote:
> On Wed, 2007-12-05 at 10:42 -0500, [EMAIL PROTECTED] wrote:
>> I am trying to debug C# compiled using gmcs -debug with GDB.
>> I can run my programme under GDB, but it doesn't see any debug
>> symbols, and can't set break points or show backtrace.
>> I am running ubuntu 7.04 with GDB 6.6-debian.
>> I have added a .gdbinit as described on the mono website
>> (http://www.mono-project.com/Debugging).
>>
>> Am I missing something really obvious?
>>
>> thanks
>>
>> dan
> 
> You should check out this wiki page:
> http://www.mono-project.com/Debugging#Debugging_with_GDB and you should
> also check out mndb from svn in /mono/mndb which is GDB macros for mono
> 
> 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Com Interop

2007-12-06 Thread Adelle Hartley
Hi all,

I tried my first experiment with Mono and COM interop recently.

I see that instantiating a COM object on Windows seems to work.

I have some windows based COM DLLs which I know work with wine because I 
have a VB6 program which uses them which runs successfully with wine.

When i try to use the same DLLs in a C# project in Mono, via COM 
interop, it works on Windows but not Linux.  Ok, I'm not exactly 
surprised, but is there some way of getting Mono to instantiate a COM 
object using wine?  Is that something that's being worked on?

Adelle.



___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list