腳本以下函數
szDllPath = SUPPORTDIR ^ "TestCom.dll"; set oMyTest = CoCreateObjectDotNet(szDllPath, "TestCom.TestClass"); szMsg1= oMyTest.Test(svSerial); MessageBox(szMsg1,INFORMATION); 測試