Solved

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

Posted on 2004-04-02
4
406 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 500 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
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…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now