Results 1 to 5 of 5

Thread: CSocketMaster - Problem

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2004
    Posts
    279

    Angry CSocketMaster - Problem

    Can someone tell me why this doesn't work in a DLL project? (see attachment)

    When connecting:
    VB Code:
    1. Dim ipStr, portStr As String
    2. ipStr = "66.66.66.66" ' example IP
    3. portStr = 4500
    4. Client.Connect ipStr, portStr
    It just sits there and does literally Nothing. No error code, no nothing.

    Works just fine in EXE
    Attached Files Attached Files

  2. #2
    Old Member moeur's Avatar
    Join Date
    Nov 2004
    Location
    Wait'n for Free Stuff
    Posts
    2,712

    Re: CSocketMaster - Problem

    SocketMaster creates a window to receive messages. I don't think you can do that in an ActiveX DLL.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    May 2004
    Posts
    279

    Re: CSocketMaster - Problem

    Oh I see hmm

    Is there any other ways to use Winsock in a DLL? (not using the control)

  4. #4
    Old Member moeur's Avatar
    Join Date
    Nov 2004
    Location
    Wait'n for Free Stuff
    Posts
    2,712

    Re: CSocketMaster - Problem

    You could use any of the synchronous Winsock functions
    http://msdn.microsoft.com/library/de..._reference.asp

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    May 2004
    Posts
    279

    Re: CSocketMaster - Problem

    Know where to get examples of the Winsock API's send/recv/connect ?

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