Hallo, habe einen Quelltext aus Visul Basic und möchte es in Profan einbinden: Funktion aus Easy 800 DLL
Dim bYear, bMonth, bDay, bHour, bMin As Byte
ComError = easyCOM.MC_Read_Clock(MyComHandle, 0, bYear, bMonth, bDay, bHour, bMin)
Proc uhr
Declare Error&,ye$,mo$,da$,ho$,mi$
Error& = Read_Clock(1," "," "," "," "," ")
Locate 23,30
Print "Read Clock: ";Error&
Print ye$
'Print mo$
'Print da$
'Print ho$
'Print mi$
auswahl
c& = Close_EthernetPort()
Endproc
Gebe ich die Variabel bei Read_Clock() ein, kommt Error& Fehler
Wer weiß Rat.. Danke.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!