Results 1 to 3 of 3

Thread: passing controls to classes

  1. #1

    Thread Starter
    Hyperactive Member wasiq's Avatar
    Join Date
    Jan 2000
    Location
    Karachi, Sindh, Pakistan
    Posts
    274
    How can I pass a winsock control to a class???

  2. #2
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Reading, UK
    Posts
    870
    can't you just have it as a parameter?

    public sub doWhatever(socket as winsock)

    socket.listen ' or whatever?

    end sub

    Or is that too simple?

  3. #3

    Thread Starter
    Hyperactive Member wasiq's Avatar
    Join Date
    Jan 2000
    Location
    Karachi, Sindh, Pakistan
    Posts
    274
    but I get an error,
    what i am actually doing is that i am passing an array of winsock controls to and array of a class.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width