CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2009
    Posts
    61

    How to get IStream address

    i have one audio file in c drive(c:/abc.wav)

    i want to copy that file into my cd drive using IDiscRecorder2 method. How i will get the address of this file. please help.

    m_hResult = m_discFormatData->Write(IStream *streamData);

    i want address of abc.wav in streamData
    Last edited by sijith01; March 16th, 2010 at 07:27 AM.

  2. #2
    Join Date
    Oct 2009
    Posts
    4

    Re: How to get IStream address

    when you post your question please write more explanation of your function ...because we need 2 improve some more knowledge of your question

    m_hResult = m_discFormatData->Write(IStream *streamData);

    i think this is wrong because of writing Write(IStream *streamData);

    u try this one ..i dont know this ll help 2 you

    m_hResult = m_discFormatData->Write(&streamData);

  3. #3
    Join Date
    Jun 2009
    Posts
    61

    Re: How to get IStream address

    Thanks 4 ur reply

    My need is to write an audio file into CD drive..

    IDiscFormat2Data* m_discFormatData;
    m_hResult = m_discFormatData->Write(m_streamData);

    Here how can i tell datastream to point to my audio file

    http://msdn.microsoft.com/en-us/libr...54(VS.85).aspx this link tells to use write function for writing data. but how can i tell my audio.wav file here.
    i am confused please help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured