runtime error

kaveh rahimi 61 Reputation points
2021-04-01T14:26:54.813+00:00

I run my code and receive The program '[8588] dotnet.exe' has exited with code 0 (0x0).
my code is
Imports System.Runtime.InteropServices
Module main

Function ch341streami2c(ByVal iindex As Integer, ByVal iwritelength As Integer, ByVal iwritebuffer As String, ByVal ireadlength As Integer, ByVal oreadbuffer As String) As String
    ch341streami2c = oreadbuffer
    Return oreadbuffer
End Function
Sub main()
    Dim ch341streami2c As Integer
    Dim oreadbuffer As Integer
    ch341streami2c = oreadbuffer

End Sub

End Module

please help me
thanks

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,119 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 81,726 Reputation points
    2021-04-01T14:40:52.797+00:00

    I run my code and receive The program '[8588] dotnet.exe' has exited with code 0 (0x0).

    This means that your program executed successfully...

    0 comments No comments