Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Example for C++ DLL with events that is accessible from VB

Posted on 2004-04-02
4
Medium Priority
?
474 Views
Last Modified: 2006-11-17
I'm looking for the complete source code for a working example of a MS Visual C++ DLL that includes two properties, one method (that uses the two properties), and one event that is raised by the method called. The example needs to include the appropriate files necessary for this dll to be accessible from VB. The source code needs to compile in Miscrosoft Visual C++ V6.
0
Comment
Question by:PJarosak
  • 2
4 Comments
 
LVL 5

Expert Comment

by:info_expert
ID: 10743381
Hi,
This Websit is not for doing your homework. Do your homework yourself.
Regards.
0
 
LVL 15

Expert Comment

by:lakshman_ce
ID: 10743445
For accessing properties,methods and events you need to create an ActiveX control in VC++
Plz refer to this http://www.codeproject.com/useritems/using_activex_contorl.asp

-Lakshman
0
 
LVL 15

Accepted Solution

by:
lakshman_ce earned 2000 total points
ID: 10743466
0
 

Author Comment

by:PJarosak
ID: 10743927
The question is not a homework question. Here's the problem, I've been able to write a DLL from scratch using properties and methods, however, I've not been able to find good documentation on how to create and call an event that will be available as an event in VB. The first link goes through information I'm already familiar with, however the second link is what I wasn't able to find. Thank you.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
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.

916 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