Solved

Winsock in ACtiveX DLL

Posted on 2004-08-19
3
433 Views
Last Modified: 2013-11-13
Experts,

I am writing an ActiveX DLL and want to use Winsock Control in this DLL. How can I go about doing this. If not possible what do you suggest.
Using VB6.


Thanks
0
Comment
Question by:hkaraman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Expert Comment

by:realrael
ID: 11849188

if i understand your query right, wouldn't that be as simple as adding the winsock control component in your activex dll project?

project -> components -> check the microsoft winsock control.

then use the component in code...

dim w as Winsock

- rael
0
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 11852000
In order you use the Winsock control in a DLL, you will have to add a form to the project and drop a winsock control onto it.  Then just call its methods as you would normaly.
0
 
LVL 8

Accepted Solution

by:
mladenovicz earned 500 total points
ID: 11858223
I am using class module that replaces Winsock control. Check this:

http://www.vbip.com/winsock-api/csocket-class/csocket-class-01.asp
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show, step by step, how to integrate R code into a R Sweave document
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question