Announcement

Collapse
No announcement yet.

Signatur?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Signatur?

    Hi,

    ich hab mich jetzt schon stundenlang durch alle quellen gewühlt habe allerdings leider keine Definition einer Signatur gefunden?
    Außer Name,Übergabetypen und Rückgabetypen...
    Mein Problem ist folgende Fehlermeldung:
    Die Public Sub ReceiveDllMessage(ucsize As Integer, csiz As Integer, cfactor As Short, mo As Short, dy As Short, yr As Short, hh As Short, mm As Short, c As Byte, ByRef fname As Zimo_Service_Tool.ZipUnzip.CBCh, ByRef meth As Zimo_Service_Tool.ZipUnzip.CBCh, crc As Integer, fCrypt As Byte)-Methode hat nicht die gleiche Signatur wie der Delegat "Delegate Function ReceiveDllMessageDelegate(ucsize As Integer, csiz As Integer, cfactor As Short, mo As Short, dy As Short, yr As Short, hh As Short, mm As Short, c As Byte, ByRef fname As CBCh, ByRef meth As CBCh, crc As Integer, fCrypt As Byte) As Object".

    diese bezieht sich auf die Zeile
    U_MYUSER.DLLMESSAGE = AddressOf ReceiveDllMessage

    Definitionen:
    Delegate Function ReceiveDllMessageDelegate(ByVal ucsize As Integer, ByVal csiz As Integer, ByVal cfactor As Short, ByVal mo As Short, ByVal dy As Short, ByVal yr As Short, ByVal hh As Short, ByVal mm As Short, ByVal c As Byte, ByRef fname As Zimo_Service_Tool.ZipUnzip.CBCh, ByRef meth As Zimo_Service_Tool.ZipUnzip.CBCh, ByVal crc As Integer, ByVal fCrypt As Byte) As Object

    Sub ReceiveDllMessage(ByVal ucsize As Integer, ByVal csiz As Integer, ByVal cfactor As Short, ByVal mo As Short, ByVal dy As Short, ByVal yr As Short, ByVal hh As Short, ByVal mm As Short, ByVal c As Byte, ByRef fname As Zimo_Service_Tool.ZipUnzip.CBCh, ByRef meth As Zimo_Service_Tool.ZipUnzip.CBCh, ByVal crc As Integer, ByVal fCrypt As Byte)


    Ich bin nach tagelangen versuchen echt
    Danke in Vorraus
    Viktor Obrist

    Ps.: ich muss in vb6 programm auf vb.net bringen und habe jetzt schon über 179 Fehler ausgemerzt und das ist der Letzte

  • #2
    Die Andworten die man sich selbst gibt sind manchmal die Besten

    Einfach den Befehl "sub" gegen "function" tauschen... und schon funkts

    Comment

    Working...
    X