Suche Hilfe bei C#

12/28/2013 11:58 GATGAT#1
Hallo ich habe ein Programm das ich Auf Linux benutzen Möchte nur brauche ich Hilfe bei Mono da ich es über Putty starte und kein display hat

Kann mir da jemand Helfen da ich echt kein C# Kann und ich es auf Linux Benötige das Programm

ihr bekommt auch egold
12/28/2013 12:00 Beni#2
Was brauchst du denn genau? Aber wenn du in C# was codest kann ich dir mit ziehmlicher Sicherheit sagen, dass es nicht auf Linux funktionieren wird, 1. .exe und 2. Hat Linux nicht die Windows Frameworks...
12/28/2013 13:30 theredvex#3
Dafür ist ja mono da.
Du könntest ebenso wine versuchen oder einen headless Windows installieren.
Was spuckt mono denn aus?
12/28/2013 14:53 GATGAT#4
Quote:
Unhandled Exception: System.EntryPointNotFoundException: GetConsoleWindow
at (wrapper managed-to-native) Silverwave.Program:GetConsoleWindow ()
at Silverwave.Program.Main (System.String[] Args) [0x00000] in <filename unkno wn>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.EntryPointNotFoundException: GetConsol eWindow
at (wrapper managed-to-native) Silverwave.Program:GetConsoleWindow ()
at Silverwave.Program.Main (System.String[] Args) [0x00000] in <filename unkno wn>:0
Wenn jemand schnell Lust hat könnte er mir ja helfen :D
12/28/2013 19:16 GodHacker#5
Gehört in [Only registered and activated users can see links. Click Here To Register...].

Ich bitte einen Moderator oder Admin den Thread entsprechend zu verschieben.
12/29/2013 19:45 theredvex#6
Warum gehört das in trading?
Hast du das Programm selbst geschrieben welches unter mono laufen soll?
Was soll es bewirken funktioniert es auf Windows?
Nähere Details würden helfen den Fehler zu beheben.
Welche distro benutzt du?
12/29/2013 23:11 GATGAT#7
1 das Programm habe ich nicht gemacht.

Info ich habe es jetzt echt weit aber muss sagen das
der TCP Listner auf Mono nicht Funktioniert.

bekomme immer

Quote:
Exception logged 12/29/2013 21:55:21 in Socket listener:
System.NullReferenceException: Object reference not set to an instance of an object
at Nova.Net.TcpConnection..ctor (UInt32 pSockID, SocketInformation pSockInfo) [0x00000] in <filename unknown>:0
at Nova.Net.TcpConnectionManager.HandleNewConnection (SocketInformation connectioninfo, Int32 PreconnID) [0x00000] in <filename unknown>:0
at Nova.Net.TcpConnectionListener.ConnectionRequest (IAsyncResult iAr) [0x00000] in <filename unknown>:0
Source:
novaEmulator
Data:
Message:
Object reference not set to an instance of an object
Stack trace:
at Nova.Net.TcpConnection..ctor (UInt32 pSockID, SocketInformation pSockInfo) [0x00000] in <filename unknown>:0
at Nova.Net.TcpConnectionManager.HandleNewConnection (SocketInformation connectioninfo, Int32 PreconnID) [0x00000] in <filename unknown>:0
at Nova.Net.TcpConnectionListener.ConnectionRequest (IAsyncResult iAr) [0x00000] in <filename unknown>:0

Code im programm

wenn ich richtig erkenne
internal TcpConnection(uint pSockID, SocketInformation pSockInfo)
: base(pSockInfo)
{
mID = pSockID;
mIP = RemoteEndPoint.ToString().Split(':')[0];
}





wenn ihr mir helfen könnt wäre ich sehr dankbar
12/29/2013 23:21 qkuh#8
Code?
12/29/2013 23:43 GATGAT#9
geändert
01/03/2014 14:31 desTenshi#10
Has du denn mal drauf geachtet ob deine mono Version auch aktuell ist?
01/03/2014 14:44 tolio#11
Quote:
Object reference not set to an instance of an object
ziemlich eindeutig ein programmierfehler bzw ein programmfehler der nicht abgefangen wurde.


der tcplistener funktioniert zumindest auf debian mit mono ohne probleme (eigene erfahrung)