AnsweredAssumed Answered

Automation - Handling Events in (Visual)C++

Question asked by alemannia on Nov 3, 2010
Latest reply on Nov 4, 2010 by alemannia

Hi.

 

Do you know where I could find some examples on how to handle events in the automation API of the VisualDSP++ IDDE in Visual C++? All examples given in the documentation are written in Visual Basic. There are always C++ examples for working with properties and methods but not for handling events. I am especially interested in the OnAppClose event from an ADspApplication object.  My program is doing something like this:

 

...
if( _idde ) {
if( _verbose )
   cout << "-- waiting..." << endl;
/* waiting for IDDE to be closed */
/* ... */     
  
}
else {
if( _verbose )
   cout << "-- disconnecting..." << endl;
  
/* disconnect session */
pApp->DisconnectSession();

 

...

 

Cheers.

Outcomes