|
-
Aug 3rd, 2005, 12:53 AM
#1
Thread Starter
Hyperactive Member
CSocketMaster - Problem
Can someone tell me why this doesn't work in a DLL project? (see attachment)
When connecting:
VB Code:
Dim ipStr, portStr As String
ipStr = "66.66.66.66" ' example IP
portStr = 4500
Client.Connect ipStr, portStr
It just sits there and does literally Nothing. No error code, no nothing.
Works just fine in EXE
-
Aug 3rd, 2005, 01:30 AM
#2
Re: CSocketMaster - Problem
SocketMaster creates a window to receive messages. I don't think you can do that in an ActiveX DLL.
-
Aug 3rd, 2005, 01:45 AM
#3
Thread Starter
Hyperactive Member
Re: CSocketMaster - Problem
Oh I see hmm
Is there any other ways to use Winsock in a DLL? (not using the control)
-
Aug 3rd, 2005, 01:50 AM
#4
Re: CSocketMaster - Problem
You could use any of the synchronous Winsock functions
http://msdn.microsoft.com/library/de..._reference.asp
-
Aug 3rd, 2005, 02:02 AM
#5
Thread Starter
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|