# 同一dll档为何vb6.0可以而vb6.0却无法载入呢

Posted by 不知如何的小杨 on April 03, 1999 at 11:20:23:

Private Declare Sub openport Lib "c:\godex\dll\win95\eztt95.dll" (ByVal no$)
Private Declare Function isready% Lib "c:\godex\dll\win95\eztt95.dll" ()
Private Sub cmPrint_Click()
Call openport("0") --- 此处就ERROR
If isready = 0 Then
MsgBox "Printer is not ready.", 16, "Printer status"
Else

End If
Call closeport
End Sub

Follow Ups: