[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-producer-dev
Subject:    Re: [Helix-producer-dev] Reusing the IID_IHXRMEdit interface fails?!
From:       Vishal Anand <vanand () real ! com>
Date:       2004-05-24 19:53:53
Message-ID: 6.0.0.22.2.20040524124310.045d2cb8 () mailone ! real ! com
[Download RAW message or body]

You seem to be doing the right thing. Tested your steps quickly using the 
rmeditor sample code as distributed with producersdk\samples, I get the 
expected results. Here is what I added to the process method -

         if(SUCCEEDED(res) && m_bListInputFile)
         {
                 res = DisplayEditInfo();

 >               Log("\nSECOND FILE!\n");
 >
 >               res = m_pEdit->SetInputFile("test2.rm",TRUE);
 >               res = m_pEdit->SetOutputFile("output.rm");
 >               res = m_pEdit->SetTitle("NEW TITLE");
 >
 >               res = m_pEdit->Process();
 >
 >               res = DisplayEditInfo();
         }

Is this similar to what you are trying ?

Vishal

At 01:13 PM 5/22/2004, b j wrote:
>I am attempting to trim several files using the IID_IHXRMEdit interface.
>After getting the interface successfully, the first file works fine: after 
>calling SetInputFile/SetOutputFile/etc and then calling Process, the first 
>output file is generated.  Once this completes, I want to process another 
>file.  When I try to call SetInputFile for the next file, the call fails.
>What do I need to do to process multiple files without quitting my app and 
>restarting??
>
>
>Thanks!
>
>Bruce
>
>_________________________________________________________________
>FREE pop-up blocking with the new MSN Toolbar ­ get it now! 
>http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
>
>
>_______________________________________________
>Helix-producer-dev mailing list
>Helix-producer-dev@lists.helixcommunity.org
>http://lists.helixcommunity.org/mailman/listinfo/helix-producer-dev



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic