Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2004-04-02
4
Medium Priority
?
464 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 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

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…
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 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 additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

660 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