Solved

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

Posted on 2004-04-02
4
446 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
[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
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
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.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

738 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