Quote:
I am trying to use swf inside my exe from c++
- not exactely sure what you mean here 'inside'
Well, in 'the old days' (of VC6), I remember doing this sort of this as a prototype for a small project - Im not sure how/why/where they came from [*1], but Im pretty sure there was a Shockwave ActiveX component on my Dev machine and I added that to my MFC Dialog based VC project. The Shockwave content itself, I embedded in the exe as a resource - now, given Im an old fogy who relies on previous experience first, I personally would be looking at doing that in whichever newer VC environment I;d be using - this
How to play swf files in win32 C++ Directx[
^] may be another option
I 'guess' if you have a Shockwave exe as you appear to indicate, you could include that as an embedded resource in your program, 'unpack' it to a file on disk and execute it as a separate process, and delete the file when the viewing has finished
[*1] Apparently, Adobe [something] plays Shockwave Flash AND has an ActiveX component it installs - might be worth Googling for