IMAPI Development

Discussion in 'Windows Vista Drivers' started by NickP, Oct 9, 2007.

  1. NickP

    NickP Guest

    Hi there,

    I am trying to write a C++ DLL that allows me to burn data CDs. I've
    been following the following article,

    http://msdn.microsoft.com/msdnmag/issues/04/04/CQA/

    Unfortunately I am stuck as the CDiscMaster.GetActiveDiscRecorder fails,
    as does the SetActiveDiscRecorder method. The recorders are enumerated fine
    and I store them in a CSimpleArray object for index based referencing. I
    can acquire information on the recorders, i.e. Path and PnPID, but Eject
    does not work, nor does setting an active recorder as mentioned a moment
    ago.

    Any ideas what could be going wrong?

    Nick.
     
    NickP, Oct 9, 2007
    #1
    1. Advertisements

  2. NickP

    NickP Guest

    Hi there,

    Please disregard this. I was checking to see if the active recorder was
    already set to the desired recorder first, not knowing that it does not have
    a default value. Therefore you must set the active recorder first.

    Nick.
     
    NickP, Oct 9, 2007
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.