My vb code:
Dim sname As String
Dim test1 As New Class1
sname = Space$(255)
Call test1.CallAPI(sname, 255)
This all works, now i want it in vbscirpt:
Dim sname
Dim test1
set test1 = CreateObject("testdll2.Class1")
sname = space(255)
Call test1.CallAPI(sname, 255) //This line of code contains an error but i dont know how to solve it, maybe it has to do sth with the types?
Can smb help?
