mathijs
Community Member

Posts: 377
|
 |
« on: November 06, 2007, 06:00:48 PM » |
|
FantastiqUI : Flash controlLately I have finished the Flash control for HAL(hardware accelerated rendering) that I have been developing over the past two years. I am offering a beta version to the TV-Community to have a first look. Let me first give you a short list of the core features of this control.. Feature list:* Works with c++/.NET/delphi, yet build on a powerful c++ core. * Works in fullscreen mode and handles mouse and keyboard input that you pass to the control fully. * Synchronous and asynchronous communication with flash. This means, you can call functions inside the actionscript inside your flash control. Visa versa actionscript can call functions inside your applications. In both cases return arguments can be returned to the calling application. * Optimized for speed, rerendering only happens when the flash control updates and at a framerate you specify. The rendering is implemented fully double-buffered/threaded. * Fully engine/directx/opengl independant. By a provided set of classes you can implement this to work with virtually any rendering mechanism. * Custom sound handlers, hook your own sound handler to the control and let your application's sound system play the sound for flash. * You can provide your own flash player. This means you can deploy your applications without worrying about any problems by users using other versions of flash than the version you tested with. * Full flash transparency and translucency supported. Included in the zip file:* Executable showing of 3 flash controls in a 3d application. * Source code of the executable and the .net version of the FantastiqUI flash control (the versions for other languages are for release at a later time) * Source file of the flash control showing communication between flash and the application. * For easy use I have implemented a function for binding a flash control to a truevision texture in .net DLL. * Also included is depends.exe, to check for any missing runtimes in case the application doesn't run. Required runtimes to run this:* Microsoft visual c++ 8 runtimes. Get it here* The latest flash player Get it here* A working version of truevision(and the directx runtimes required to run truevision). Beta version* Remember, this is a beta version and not garanteed to work nor is intended for any commercial use yet. * If you find any bugs, please report them here :') Download 
|
|
|
|
« Last Edit: November 19, 2007, 06:27:42 PM by mathijs »
|
Logged
|
|
|
|
|
darqSHADOW
|
 |
« Reply #1 on: November 06, 2007, 06:48:42 PM » |
|
Very nice, I know there's been a lot of people waiting for this one. Great work.
John
|
|
|
|
|
Logged
|
TrueVision3D Project Manager The fast and simple way of 3D development.
|
|
|
|
Eric
|
 |
« Reply #2 on: November 06, 2007, 07:57:43 PM » |
|
great stuff mathijs!
|
|
|
|
|
Logged
|
|
|
|
|
Zaknafein
|
 |
« Reply #3 on: November 06, 2007, 08:01:54 PM » |
|
Doesn't work on my Windows XP Media Center Edition laptop. The provided exec runs, but crashes with a meaningless win32 exception if I click anywhere. The source compile but crashes when I run it, with a FileNotFoundException ("The specified module could not be found. (Exception from HRESULT: 0x8007007E)") on Application.Run in the Main method. I ran "depends.exe" on the provided exec, it says I don't have DWMAPI.DLL, that might be it. But according to this MVP it should never be linked to, so check your stuff... http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=946323&SiteID=1
|
|
|
|
|
Logged
|
|
|
|
mathijs
Community Member

Posts: 377
|
 |
« Reply #4 on: November 06, 2007, 08:15:47 PM » |
|
Looking into it, thanks for your report zaknafein. This dwmapi shouldnt be causing the problem. Since its missing on my computer too, and not one of my links, but something that comes in inside some other runtime. Looking what the problem could then be atm.
|
|
|
|
« Last Edit: November 06, 2007, 08:19:07 PM by mathijs »
|
Logged
|
|
|
|
|
mk_9999
|
 |
« Reply #5 on: November 06, 2007, 10:52:37 PM » |
|
cann't run ?
|
|
|
|
|
Logged
|
|
|
|
|
Raine
|
 |
« Reply #6 on: November 07, 2007, 02:23:07 AM » |
|
The executable works here. Smooth performance even on my crappy laptop, and that's an achievement.  Mango, mango, mango mango mangoooo!
|
|
|
|
|
Logged
|
|
|
|
|
sgrippa
|
 |
« Reply #7 on: November 07, 2007, 05:21:28 AM » |
|
cann't run ?
Same exception here, it seems it's missing something. Edit : run on Vista business ; I have dvmapi.dll in system32.
|
|
|
|
« Last Edit: November 07, 2007, 05:24:49 AM by sgrippa »
|
Logged
|
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. (Rich Cook)
|
|
|
|
beyonder
|
 |
« Reply #8 on: November 07, 2007, 06:23:21 AM » |
|
Don't worry Mathijs... its like this in every release I've ever done... (we're not Microsoft) But I was wondering... is it possible to make this work with VB6?
Thanks.
|
|
|
|
|
Logged
|
"And what I saw scared me to the depths of my miserable soul. It was true, it was all a sham, it ain't real." - The Thirteenth Floor
|
|
|
|
sgrippa
|
 |
« Reply #9 on: November 07, 2007, 08:24:01 AM » |
|
Don't worry Mathijs... its like this in every release I've ever done... (we're not Microsoft) But I was wondering... is it possible to make this work with VB6?
Thanks.
Yes, it's absolutely normal. When I release a software app I go trought many many many headaches wondering why the tests I made at the office seem to work without bugs and when I perform installation at the customer's office nothing seems to run properly.... 
|
|
|
|
|
Logged
|
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. (Rich Cook)
|
|
|
mathijs
Community Member

Posts: 377
|
 |
« Reply #10 on: November 07, 2007, 08:30:53 AM » |
|
I think it might be because of STLPort not being found for some reason, since the other linked stuff is either too standard to be missing or .net. And .net missing references tell what is missing in the error. Going to remove the stlport link and make it static just to be sure.
|
|
|
|
|
Logged
|
|
|
|
mathijs
Community Member

Posts: 377
|
 |
« Reply #11 on: November 07, 2007, 08:31:50 AM » |
|
If anyone who tested it and didnt get it to work minds helping me testing, please message your msn adress to me or message me on msn.
|
|
|
|
|
Logged
|
|
|
|
|
sgrippa
|
 |
« Reply #12 on: November 07, 2007, 09:06:06 AM » |
|
I'd be glad if you want me to test your gui but,unfortunately I am at work and don't have msn installed here. I will watch this topic for the whole day so, if you'd have to test a new release just send me a Pm.
|
|
|
|
|
Logged
|
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. (Rich Cook)
|
|
|
mathijs
Community Member

Posts: 377
|
 |
« Reply #13 on: November 07, 2007, 01:14:23 PM » |
|
Don't worry Mathijs... its like this in every release I've ever done... (we're not Microsoft) But I was wondering... is it possible to make this work with VB6?
Thanks.
Not sure yet, there will be a com-dll, which should work with vb6. Not sure yet whether it will work with vb6 though because of vb6 not supporting directx.
|
|
|
|
|
Logged
|
|
|
|
|
DavidAWinter
|
 |
« Reply #14 on: November 07, 2007, 01:23:17 PM » |
|
What's the planned licensing model going to be for this?
Also, for those thinking about commercial purposes, you would still need to get a license from Adobe to use swf for commercial purposes.
|
|
|
|
|
Logged
|
|
|
|
mathijs
Community Member

Posts: 377
|
 |
« Reply #15 on: November 07, 2007, 01:35:13 PM » |
|
What's the planned licensing model going to be for this?
Also, for those thinking about commercial purposes, you would still need to get a license from Adobe to use swf for commercial purposes.
Not sure about the licensing plan yet, somewhere between free and 25$. Looking into the licensing with adobe, tho I think they are very easy with applications using the player, looking at the amount of such apps released.
|
|
|
|
|
Logged
|
|
|
|
mathijs
Community Member

Posts: 377
|
 |
« Reply #16 on: November 07, 2007, 03:20:12 PM » |
|
I have updated the .zip archive with a new dll. The stlport reference is removed, which might(hopefully) fix the problems some people encounter, havent had the time to test a lot though yet.
|
|
|
|
|
Logged
|
|
|
|
|
sgrippa
|
 |
« Reply #17 on: November 07, 2007, 06:52:53 PM » |
|
Downloaded and tested. It works like a charm on first try ! Very good work mathijs !
Around 2500 fps on a Amd 5000+, Ati X1950 Pro 256 Mb, Windows Vista Businees running Aero Desktop
|
|
|
|
|
Logged
|
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. (Rich Cook)
|
|
|
|
Zaknafein
|
 |
« Reply #18 on: November 07, 2007, 07:30:30 PM » |
|
Alright, now the code and executable both run, but I still have that anonymous win32 exception when I wait a while or click anywhere inside the frame. :/ If I run it in code, I don't get any break point or anything within Visual C#, just the same exception dialog. So I guess it's inside the C++ DLL. I'm on french regional settings, if that helps!
|
|
|
|
|
Logged
|
|
|
|
mathijs
Community Member

Posts: 377
|
 |
« Reply #19 on: November 07, 2007, 08:18:34 PM » |
|
Alright, now the code and executable both run, but I still have that anonymous win32 exception when I wait a while or click anywhere inside the frame. :/ If I run it in code, I don't get any break point or anything within Visual C#, just the same exception dialog. So I guess it's inside the C++ DLL. I'm on french regional settings, if that helps!
So if i understand correctly the app runs and shows the flash player and rendering untill you click anywhere. Then it crashes, but not at a point where you can break it? If it doesnt run at all, do you get to see the message "This is a beta version not intended for redistribution or commercial purposes"? If this displays the internal c++ core is reached atleast.
|
|
|
|
|
Logged
|
|
|
|
|