Tuesday, December 05, 2006
How do I create a C++ application that embeds the Flash Player
Mike Chambers wrote a terrific article on the subject (his was written inC#), but the DevNet Resource Kit it was a part of is no longer available.
The article is still up for legacy purposes though:http://www.adobe.com/devnet/flash/articles/stock_history.html
Basically, you embed the Flash Player ActiveX control in your application, and then there's an API exposed through the ActiveX control.
Here's a page that details the methods and events exposed by the Flash Player ActiveX control scripting interface
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_12059
Here's a PDF about
how to write applications in VB which embed the FlashPlayer:
http://www.adobe.com/devnet/flash/articles/flash_vb.pdf
And, for your reference, Mike's blog post, which is result #1 when you Google "Embed Flash Player in C++ app"
http://weblogs.macromedia.com/mesh/archives/2003/07/embedding_flash.html
Mike Chambers Flash C# integration
http://www.adobe.com/devnet/flash/articles/stock_history.html
Macromedia Flash Slide Show (VB Flash sample application)
Thursday, November 16, 2006
HD DLP VIDEO PROJECTOR and NVIDIA GO 7400 with vista RC2
I have notice in a dual screen mode when plugged to a Video Projector some "horizontal light background bar" interlaced within the video signal moving from "top to bottom". Yuck !!
I have also noticed some significant quality decrease when using the OnAirSolution HDTV player. The overlay of channel number are not properly rendered and the bilinear filtering is not as good as it was on Windows XP.
Please NVIDIA update the Vista RC2 driver for the 7400 card on coreduo laptop ASAP...
Monday, November 13, 2006
Local.live.com
The service is up and running now. A serious competitor to google maps. Very impressive so far !
The usage of 3d is really impressive and very usefull to look for intersection thanks to visual
Zune Web Site
Really curious to see how it works and how this product will be integrated with Vista, Media Center and the XBOX 360...
http://www.zune.net/en-us/meetzune/software.htm
As far as the device specification is concerned
http://www.zune.net/en-us/meetzune/device.htm
Everything courtesy of Microsoft
Friday, October 27, 2006
What Macromedia should enhance with Flash
Some Flash designers use meta refreshes or other tricks to disable browser’s Back button. As the famous usability expert Jacob Nielsen says, ‘Back button is the second most important navigation element after hyperlinks’. People not able to use Back button will click the third most important navigation element – that X button in the top right. Besides, if you are going to promote a Flash site via PPC, you should know that Google AdWords doesn’t approve pages with disabled back button.
Search engines do not like Flash
And perhaps the most important: not every search engine is able to crawl and index the content of Flash movies. Even those that can often do it with errors. This is in particular the case of a website fully implemented in Flash as a single file. Search engines just wouldn’t be able to direct visitors to the proper page within that file.
What is Flash really good for? Banners and ads – it provides far more useful features then the traditional gif animation. Online games – remember the ‘Yeti Sports’? Flash technology – the Flash videos - for video blogs.
Windows Mobile 2005 Smartphone with no touch screen doesn't support Flash Web Site
can't access web site running flash because there is no way to navigate within a flash object by using the TAB key
Thursday, October 19, 2006
Cool toys
http://www.sonystyle.com/is-bin/INTERSHOP.enfinity/eCS/Store/en/-/USD/SY_DisplayProductInformation-Start?ProductSKU=DVPCX777ES/B&CategoryName=hav_DVD_DVDPlayers&DCMP=FROOGLE&HQS=DVPCX777ES/B
DVD SAMSUBG HD860 HD BUILD IN SCALER
http://accessories.us.dell.com/sna/productdetail.aspx?sku=A0628263&cs=19&c=us&l=en
Panasonic HD-PLC Ethernet Adapter
http://abcnews.go.com/Technology/CNet/story?id=2253392
Netgear Powerline HD Ethernet Adapter
http://reviews.cnet.com/Netgear_Powerline_HD_Ethernet_Adapter/4505-3304_7-31970278.html
TeraStation Home Server NAS 2.0TB
http://www.buffalotech.com/products/product-detail.php?productid=144&categoryid=25
HDMI Amplified Cables over 40 ft
http://www.bettercables.com/index.asp?PageAction=VIEWCATS&Category=29
Windows XP Media Center keyboard
http://www.microsoft.com/hardware/mouseandkeyboard/productdetails.aspx?pid=038
http://www.tomshardware.com/2005/08/15/microsoft_mce_keyboard/
Wednesday, October 18, 2006
OnAir USB HDTV and WIndows Vista
The upgrade was successfull without any trouble and i was able to upgrade my vista RC1 to RC2 without losing any previousley installed software.
I then installed the latest driver from onair solution OnAir USB HDTV Creator Driver v2.0.0.61
whose download is available at http://www.autumnwave.com/
At the end of the installation, i use to have some trouble with the installation even if i was runing the installer in compatibility mode.
Compatinility mode is the nice way to execute a process and target a specific operating system he was supposed to run onto thanks to a build in appcompat into the new explorer.
I selected Windows XP SP2.
Vista complained about a problem but an onairsolution folder was present at the root of vista OS drive.
I then went to the Control panel (in classic icon view) and i selected the system icon. On the top left tab i selected Device Manager then i right clicked on the USB HDTV driver which was marked as a device not beeing installed properly with the famous exclamation mark yellow icon.
I selected the 'Update Driver Software...' option from the right context menu and specify a path for the driver by pointing to the driver path found in C:\OnAirSolution\ subfolder.
Later on i choose the install anyway option when a dialog box popup with some red alert message.
The installation was successfull !
I then installed version 2.9.9 of the HDTV creator software and i got TVVVVV again but not on a dual screen only the primary screen...
BTW this is not bad for RC2, vista rocks again for me and the cherry on the cake with vista is that on mouse over ontop of the OnAir USB HDTV icon in the taskbar i can check TV in a popup window thanks to the new build in feature in Vista !!
Tuesday, October 17, 2006
Sony DVD JukeBox and RS232
on sourceforge. Windows program to control your Sony DVP-CX777ES 400-disc DVD player via its RS232 port connected to the serial port of your computer.
The project includes documentation and all source to be able to control the Sony DVP-CX777ES 400 DVD jukebox using a RS232 controller. This project is quite impressive and i am hoping to be able to control a Sony Jukebox for a custom DVD on demand at home and then be able to link the video output of the jukebox with a USB HDTV OnAirSolution Nvidia Box to perform overlay on the PC.
I would really love Optoma to provide the RS232 protocol documentation to control optoma video projector as well to have a complete entertainment system from one PC APP control with a unique remote control off course over bluetooth :) So where are the bluetooth TV/Like remote control ??
http://sourceforge.net/project/showfiles.php?group_id=99672
The beast :
http://www.sonystyle.com/is-bin/INTERSHOP.enfinity/eCS/Store/en/-/USD/SY_DisplayProductInformation-Start?ProductSKU=DVPCX777ES/B&CategoryName=hav_DVD_DVDPlayers&DCMP=FROOGLE&HQS=DVPCX777ES/B
--
Thomas
Monday, September 25, 2006
Rip and Organize Music
The first application is a CDRIP based Windows application based on a famous Open Source Ripping Engine available on Source Forge for which i have added a Skin Engine.
The second application is a MUSIC multithreaded scanning Windows application which extract metadata from a personnal music collection and organized the music based on genre, artist, album like wise Microsoft, Apple, Real or Media Monkey are doing.
The third is a basic Application to embed the Media Player Engine.
I will post soon a screen shot of an application to show an alternate way on Windows (using a Direct X and Active X Control technology) to select a CD in a media library based on 3d albumart image mapping like wise apple did with iTune in the latest version of iTune.

Stay tuned...
Thursday, September 21, 2006
Internet Explorer in Kiosk Mode
C:\Program Files\Internet Explorer\iexplore.exe -k http://www.thomasyounsi.com/
DIME, WSE and INDIGO
http://msdn.microsoft.com/msdntv/episode.aspx?xml=episodes/en/20051027WSE3MF/manifest.xml
Wednesday, September 20, 2006
MSN Soap BOX
and i look at the source of the html page playing the page.
My surprise was that the page is working in both IE7 and Firefox Mozilla.
When i look at the source you can see a weird
block with a reference to a VideoService.asmx. and then
an other blog with a very strange HTML tag
tp="Msn.Controls.Mediaplayer"
So what is this mysterious Msn.Controls.Mediaplayer.
text/xmlScript
http://www.nikhilk.net/AtlasXMLScript.aspx
and what is returned by the asmx js method
http://soapbox.msn.com/services/VideoService.asmx/js
.....
Tuesday, September 19, 2006
COM, COM+ AND VISTA
http://www.microsoft.com/com/default.mspx
Wishes long life to COM !
Intel Profiler 3 and Intel Building Blocks
Visualize threaded application behavior and pinpoint parallel performance issues. Optimize threads faster and turn the power of Intel multi-core processors into application performance. Product benefits include: The ability to identify synchronization issues and excessive blocking time that cause delays for Win32, POSIX threaded, and OpenMP code. Spot thread workload imbalances. Improve threaded application performance by maximizing application time spent in parallel regions.
http://www.intel.com/cd/ids/developer/asmo-na/eng/84200.htm?page=1
https://registrationcenter.intel.com/EvalCenter/EvalForm.aspx?productid=727
Intel Threading Building Blocks for Windows is a new C++ template-based runtime library that eases the process of writing parallel routines, or threads, within an application. It consists of pre-built and tested data structures & algorithms that simplify threading for performance and scalability. Create scalable threads faster and utilize multi-core technology. Product benefits include: Ready to use parallel algorithms that easily plug into applications and deliver scalable performance. Highly concurrent containers for robust threaded applications. Task based parallelism to abstract low-level platform details. Library based solution that seamlessly integrates into development environments. Cross platform support speeds deployment of applications on various multi-core platforms. Supports 32-bit and 64-bit platforms using Intel and GNU compilers.
http://www.intel.com/cd/software/products/asmo-na/eng/294797.htm
Monday, September 18, 2006
XPCOM
the following example as a good start.
http://www.iosart.com/firefox/xpcom/
Download the stable mozilla development environment named Gecko from mozilla.org gecko-sdk-i586-pc-cygwin-1.7.6.zip
Download two additional libraries libIDL-0.6.3-win32-bin.zip and vc71-glib-1.2.10-bin.zip from mozilla.org libIDL-0.6.3-win32-bin.zip and vc71-glib-1.2.10-bin.zip
Extract libIDL-0.6.dll from libIDL-0.6.3-win32-bin.zip and put it into C:\gecko-sdk\bin
ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32
C:> unzip libIDL-0.6.3-win32-bin.zip
C:> copy libIDL-0.6.dll C:\gecko-sdk\bin
extract glib-1.2.dll from vc71-glib-1.2.10-bin.zip and put it into C:\gecko-sdk\bin
C:> unzip vc71-glib-1.2.10-bin.zip
C:> copy glib-1.2.dll C:\gecko-sdk\bin
Note that to build the sample you will need VS6 + SP4 or greater, you will need cygwin in order to build nspr library and be able to use an autoconf based make system now used. Cygwin for Windows Platform can be found here http://sources.redhat.com/cygwin/ where as nspr source code can be found here http://www.mozilla.org/projects/nspr/eng-process/build.html
You should be able to build nspr yourself with MSDEV6, with the command line tools and cygwin.
The only thing you need that's not part of MSDEV or cygwin is the binary nsinstall.exe which is available from http://www.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/moztools-static.zip
If you don't want to build the nsrp library you can just grab the binaries from here
http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/
but i strongly recommend jsut to rely on the latest gecko SDK. For firefox 1.5 take the
gecko 1.8b1 sdk otherway you will see some strange error such as TypeError Component[cid] has no properties and no interface can be expanded in XPCOM Viewer for your component.
Replace old library in the Sample project by the latest one libnspr4.lib libplds4.lib libplc4.lib
And off course remember that all your script will be server/client based driven.
For Mozilla/Firefox you will use XPCOM and for Internet Explorer you will use ACTIVE X control for custom Dialog call from script.
To view if your XPCOM has been properly deployed and install in Mozilla 1.5 http://xpcomviewer.mozdev.org/
To debug you XPCOM http://xulfr.org/wiki/XulRunner
Nice plugin sample to provide abstraction for all Media Player
http://www.foxytunes.com/
--
Thomas
Friday, September 15, 2006
JAVA Doc
Be sure to have all the references to all the JARS and make sure that your project build using ANT XML script. Go to Tool and then select Generate Java Doc. Much more easy than using Java Doc in command line. Sweeeet
http://java.sun.com/j2se/javadoc/
Doxygen
http://www.stack.nl/~dimitri/doxygen/
Thursday, September 14, 2006
Describe Enterprise / UML Class Diagram
the next generation UML design and development tool that offers both rich modeling features and productivity-focused development utilities to simplify analysis, design, and implementation. With superior navigation, wizard-based automation of common tasks, and synchronous, round trip engineering, Describe Enterprise turns the UML into a live tool for understanding and manipulating your code.
http://www.embarcadero.com/resources/release_notes/describe.html