|
-
Jun 28th, 2000, 12:02 PM
#1
Thread Starter
Hyperactive Member
Hi all,
The following code snippet that I am using in an ActiveX DLL gives me an error and I can't figure out why.
Private WithEvents MySock as Winsock
Private Sub Class_Initialize()
'I get an error message i.e. Error in data type
Set MySock = CreateObject("MSWinsock.Winsock")
End Sub
Private Sub Class_Terminate()
Set MySock = Nothing
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|