I write these four lines in my code and receive 'BC30201' expression expected error.How can I resolve this error please help.
the lines are:
Private Declare Function ch341opendevice Lib "ch341dll.dll" (ByVal iindex As Integer) As Integer
Sub main()
Console.WriteLine(ch341opendevice(Byval iindex as integer) As Integer)
End Sub