CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2005
    Posts
    73

    Exclamation a recondite thing about IShockwaveFlash,anybody helps?

    hi guys:
    these days i got a confusing tour over streaming a SWF into IShockwaveFlash, i have a code looks about like this :

    from a CAxWindow i can get a IShockwaveFlash interface ,
    and then a IPersistStreamInit come up ,i had loaded a SWF stream into IPersistStreamInit and that IShockwaveFlash just worked well only for couple of minutes,procedure will be healted about running 5 minutes later more or less ,entire process just got 'halted', once 'put_Movie()' be invoked it just worked well all time,i mean everything just going the same way okay when 'put_Movie()' instead of 'IPersistStreamInit ->Load()' thing, so i think 'IPersistStreamInit is the point for sure. but i just totally have no idea about this scenario.

    here is the flow chart:

    CAxWindow()->QueryControl(&pUnknown);

    pUnknown->QueryInterface(IShockwaveFlash);

    IShockwaveFlash->QueryInterface(IID_IViewObject2,(void**)&FlashViewObj);

    IShockwaveFlash->QueryInterface(IID_IPersistStreamInit,(void**)&IPStreamInit);

    IPersistStreamInit->Load(pSWFStream);

    IShockwaveFlash->Play();

    well , codes just like above essentially,process will be stopped by IPersistStreamInit->Load(pSWFStream);

    have you guys seen something like this b4?

    thank you and good luck 2 u guys

  2. #2
    Join Date
    Jan 2005
    Posts
    73

    Resolved Re: a recondite thing about IShockwaveFlash,anybody helps?

    hi guys:

    i got the reason as to why, i found a certain SWF file makes Shockwave flash ocx occur of memory leaking,so as the clock ticks,OS just got entire procedure healted finally.

    have a good day

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