Raise a VB event from a C++ dll 
Author Message
 Raise a VB event from a C++ dll

Hello

    I am assuming that you are calling this C++ DLL from VB.   To get an VB
event I think you need to have a C++ event.  If the C++ DLL is a COM object
you may be able to declare it "With Events"  You can raise a VB event from
the event handler

Doug


Quote:
> Hi!

> How can I make a function (in a C++ dll) raise an event in a VB app?
> O:-)

> TIA

> file://-----------------------------------------------
> // Fernando Rodriguez Romero
> //
> // frr at mindless dot com
> file://------------------------------------------------



Wed, 18 Jun 1902 08:00:00 GMT  
 Raise a VB event from a C++ dll

Quote:

>Hello

>    I am assuming that you are calling this C++ DLL from VB.   To get an VB

        Correct

Quote:
>event I think you need to have a C++ event.  If the C++ DLL is a COM object

        Where can I find more info about this (creating a c++ event) ? O:-)

//-----------------------------------------------
//      Fernando Rodriguez Romero
//
//      frr at mindless dot com
//------------------------------------------------



Wed, 18 Jun 1902 08:00:00 GMT  
 Raise a VB event from a C++ dll

Normally PostMessage can raise events, but it depends on the desired
event

Quote:

> Hi!

>         How can I make a function (in a C++ dll) raise an event in a VB app?
> O:-)

> TIA

> //-----------------------------------------------
> //      Fernando Rodriguez Romero
> //
> //      frr at mindless dot com
> //------------------------------------------------



Wed, 18 Jun 1902 08:00:00 GMT  
 Raise a VB event from a C++ dll
Hi!

        How can I make a function (in a C++ dll) raise an event in a VB app?
O:-)

TIA

//-----------------------------------------------
//      Fernando Rodriguez Romero
//
//      frr at mindless dot com
//------------------------------------------------



Tue, 22 Apr 2003 20:54:43 GMT  
 Raise a VB event from a C++ dll

If You aree speaking about COM , then pls read

Building ActiveX Controls for Microsoft Windows CE Using the Active
Template Library in MSDN
and search MSDN for FireViewChange()
This was not clear for me that You mean COM

Quote:

> Hi!

>         How can I make a function (in a C++ dll) raise an event in a VB app?
> O:-)

> TIA

> //-----------------------------------------------
> //      Fernando Rodriguez Romero
> //
> //      frr at mindless dot com
> //------------------------------------------------



Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Debugging Events raised by C++ objects hosted in vb

2. Help needed raising events from ActiveX DLL

3. raise an event from a form of an ActiveX dll

4. Raising Events in DLLs

5. Event does not raise when dll is compiled

6. Help needed raising events from ActiveX DLL

7. Events not raised in DLL

8. raising event from form in ActiveX dll

9. accessing objects in a c++ DLL from a c++ activeX control placed in a VB application

10. Get Event in C++ from VB's events

11. Get Event in C++ from VB's events

12. Raise event does not trigger event at the client

 

 
Powered by phpBB® Forum Software