How can I play Flash files in Win32 window?
Can it be done with some Media Player functions?
How can I play Flash files in Win32 window?
Can it be done with some Media Player functions?
I doubt it Media Player doesn't play Flash files. The reason Browsers do is because they are
instructed through other programs and registry, that’s why you have to install Flash first.
And I think it might be illegal to run Flash's format of files and then sell the program.
(Not sure, just a possibility.)
EDIT: If you capture IE or a different Browsers frame/window, you could get it to appear on your main window. *Maybe*
Last edited by Queatrix; 11-20-2005 at 08:46 AM.
try typing the location of the .swf file into your browser.
Disclaimer: I've never even thought hard about trying this, but....couldn't you use the same process you'd use to embed a browser control, and point it at the flash file?
Oh - found some sample code for displaying an IE window/control in a .NET form here: http://samples.gotdotnet.com/quickst...fAxHosting.src
Have you looked at the Shockwave Flash Active-X control?
"Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
Friedrich Nietzsche
"I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
George Best
"If you are going through hell....keep going."
Winston Churchill
Where can I find information on that :P
More info?
Google?
"flash.ocx"
In MSVC you can right click on a dialog and select 'Insert ActiveX Control.." Then select the Shockwave Flash Object.
More info here
http://www.bytescout.com/display_flash_in_visualc.html
http://msdn.microsoft.com/library/de..._container.asp
"Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
Friedrich Nietzsche
"I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
George Best
"If you are going through hell....keep going."
Winston Churchill
Well the first link is totally useless because I already mentioned that I will do it in C++ not in VC.
True, but you never specified which compiler you were using, C++ is a programming language, not a compiler. You said you were doing it with win32, many people who do Win32 use Visual C++. A 'thanks but I'm not using VC++, I'm using <compiler>' would have been more fitting. If you ask for help like this and you aren't very specific then you have no room to gripe about the help that is offered.Originally Posted by maxorator
-gunder
if (problem)
postcount++;
>>Well the first link is totally useless
Well, excuse me!
Its not like it shows the method required so you could apply it to your IDE.
>>because I already mentioned that I will do it in C++ not in VC.
Sorry, its hard to read your mind, as I have so little to work with......
"Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
Friedrich Nietzsche
"I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
George Best
"If you are going through hell....keep going."
Winston Churchill
You didn't have to read my mindOriginally Posted by maxorator
Watch the sixth post in this thread.
But thanks anyway...
Again, C++ is a programming language. There are several compilers and IDE's available. Win32 just means that you're making windows applications. You saying C++!! Win32!! doesn't give anyone any insight as to which compiler or IDE you are using.Originally Posted by maxorator
-gunder
if (problem)
postcount++;
First, C and C++ are very different and Visual C++ and C++ are very different too. That makes Visual C and C++ ULTRA different!
Win32 is an API. MFC is an API. .NET is an API.