I have recently joined the C# crowd and so far, I'm a bit torn. I really like C++, but not so much of
VB. That was before I decided on doing a Flash interface for a windows app. So I found a tutorial with C# (VS .NET 2003) and Flash ActiveX. Unlike the C++ version of C++ and Flash, I cannot have just one file, unless you can present me a decent solution. When I compile the C# program, I have to have 2 .dll's and the swf in the same directory (well the swf can be anywhere, but it's nice to be in the same directory or a sub-directory). How can I import the swf as a 'resource' and have it available at run-time? In C++ you could just add it as a binary resource and then do a LoadResource or whatever. Also, how can I rid myself of these external dependencies (which is one reason why I didn't like
VB (a load of dep.), and why I like C++ (no dep.))? Can I? Maybe import them as resources and load at run-time? In C++ you can just rely on the fact that end user has the ActiveX control for Flash (or include an installer and autodetect whether they have it installed or not). More appropiately, I should ask what these dll's are for. What are they for (dll's listed below)? I use C# for it's general simplicity, but if it's giving me this junk, then I'll just go to C++.
dll's:
AxInterop.ShockwaveFlashObjects.dll
Interop.ShockwaveFlashObjects.dll