Go Back   Club CDFreaks - Knowledge is Power > International Chat: Software related > Nero SDK Discussion Forum


Commercial message



Nero SDK Discussion Forum Discuss, Catching events in vc++ 6 at International Chat: Software related forum; Hi, I trying to use NeroCOM with visual C++ 6 to burn a CD. I'm able to burn a CD but I can't find how to catch COM events. Anyone could give me a small example showing how to catch COM events in c++. Thanks


Reply
 
Thread Tools
Old 06-07-2004   #1 (permalink)
New on Forum
 
Join Date: Jul 2004
Posts: 2
Catching events in vc++ 6

Hi,

I trying to use NeroCOM with visual C++ 6 to burn a CD. I'm able to burn a CD but I can't find how to catch COM events. Anyone could give me a small example showing how to catch COM events in c++.

Thanks
Tykoon is offline   Reply With Quote
Old 07-07-2004   #2 (permalink)
Nero Developer
 
Join Date: Oct 2003
Posts: 605
One would expect you to use straight NeroAPI in C++, but of course using NeroCOM is ok too.

In order to catch events you need to implement one of _INeroXXX interfaces (the ones that contain event methods of your interest) and subscribe to the event provider using the standard connection points mechanism. If you are using ATL, you might just use AtlAdvise/AtlUnadvise to assist you in the process.

If you are unfamiliar with the connection points mechanism, you should read the documentation in the MSDN (or some book) and/or study the source of ATL's AtlAdvise.
alexp is offline   Reply With Quote
Old 07-07-2004   #3 (permalink)
New on Forum
 
Join Date: Jul 2004
Posts: 2
Re: Catching events in vc++ 6

I think Nero should provide with the SDK a sample equivalent to the 'NeroFiddlesCOM' sample but written in c++.

Anyway, I will look at AtlAdvise and when it will work I will post it here if someone else needs it.

Thanks for your help
Tykoon is offline   Reply With Quote
 
Reply


If you can't find where you are looking for, then become a member and get an answer fast! We have thousands of people online every moment of the day to help you! Click here



Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Blu-ray catching up to HD DVD Quema34 Blu-ray and HD DVD Hardware, Software and Blank Media 0 04-02-2007 23:31
Usenetserver is catching up fast! imtim83 Music Download, Peer to Peer (P2P) & Legal Issues 5 19-08-2005 12:45
Gta:vc kwkard Clone CD 16 16-09-2003 09:27
vc-out? donfrabrizio2 Dutch: De Woonkamer 3 26-09-2002 15:31
Help catching Spammer ntloser General Software 6 17-07-2002 22:50


All times are GMT +2. The time now is 05:55.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0