OnDoneCDInfo?(NeroCom)

vbimport

#1

I am call CDInfo(NERO_READ_CD_TEXT), but OnDoneCDInfo never fired.

.
.
.
void __fastcall DoneCDInfo(TObject *Sender,INeroCDInfo *pCDInfo);
.
.
.
curdevice->OnDoneCDInfo=DoneCDInfo;
curdevice->CDInfo(NERO_READ_CD_TEXT);


#2

After execute function CDInfo, dont work LoadCD, EjectCD???


#3

After call CDInfo metod, if I close main form, main form is hide,
but application dont terminate.
And CD-Rom blocked and one dont eject


#4

I assume you are using C++ Builder (from your previous posts). I am not familiar with it so I cannot comment on the way you are handling events. The problem is probably in the way events are (mis)handled. Perhaps you should check this out…

Does any other event get fired? If not, the most probable cause of your problem is that you do not handle events properly.


#5

I use C ++ Builder.
I managed to import NeroCom.
For example event OnDoneErase works very well, and OnDoneCDInfo at does not work.


#6

Perhaps the following part of your code is the problem? The syntax is somewhat peculiar and other C++ Builder users might have some comments…

void __fastcall DoneCDInfo(TObject *Sender,INeroCDInfo *pCDInfo); 
. 
. 
. 
curdevice->OnDoneCDInfo=DoneCDInfo;

Everybody is usually either not receiveing any events or all of them (as appropriate). It sounds like a problem in your code somewhere.