I have made one application, and now I wanna include .swf file in one part.
Can anyone help me with code, or where I can fine more information?
Thx
I have made one application, and now I wanna include .swf file in one part.
Can anyone help me with code, or where I can fine more information?
Thx
google for "embedding flash player".
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
I was trying search .swf into .exe, but always get result for some converters, what I dont need.
Thx, I will try search with that terms.
Some other suggestions maybe?
>> .swf inside exe application
Why do you want the swf "inside" the exe? If the exe simply uses the swf, why not just keep them separate?
gg
Are you trying to play a .swf file from a program that you created? Be warned that this might turn out to be quite difficult.
On the other hand, you could just get some other program to do it, i.e.
Code:system("\"c:\\program files\\mozilla firefox\\firefox.exe\" file.swf");
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.
Be extremely careful about how you do that, though. The above line would not work on a German Windows, for example. Nor would it work if Firefox was installed in a non-standard location.
A better solution would be to just ShellExecute the swf directly and let the file associations handle the rest.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
Mmm hmm, I was going to suggest that, but the last Windows computer I was on didn't have an association for .swf files, even though IE, four or five versions of Netscape, and Opera were installed.
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.
True, I just remembered that.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
I will check this latter, I 'm busy now on my collage..
If you want to try code and let others to know try this one:
http://www.codeproject.com/KB/cpp/FlashGui.aspx
I skimmed the article and don't think it is mentioned, but that ocx also exposes flash function FSCommand(). This allows you to have a one way communication channel between the Flash and the hosting code (on your case C++).
Check Adobe's DevNet for a rundown on this precious function. It is written for VB, but most of what is in there applies to any hosting language.
Originally Posted by brewbuck:
Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.