[Mono-list] Problem with Process.GetCurrentProcess
Artur Karazniewicz
karaznie@acn.waw.pl
Sat, 01 Feb 2003 21:24:00 +0100
Hi,
Since few days I have problem with Process.GetCurrentProcess
- before it works fine but now:
reven:/home/artur/tmp/Esymmetric/Pki/Asn1# cat Foo.cs
using System;
using System.Diagnostics;
public class Foo {
public static void Main( String[] args ) {
Process.GetCurrentProcess();
}
}
reven:/home/artur/tmp/Esymmetric/Pki/Asn1# mono Foo.exe
Unhandled Exception: System.SystemException: Can't find current
processin <0x00067> 00 System.Diagnostics.Process:GetCurrentProcess ()
in <0x0000b> 00 .Foo:Main (string[])
thanks in advance for help.
Artur.