Archive for the 'Uncategorized' Category


Solution to Error Running mxmlc.exe with Windows 64bit JVM

When attempting to run mxmlc.exe from the Flex 3 SDK:
Error loading: C:\Program Files\Java\jdk1.6.0_17\jre\bin\server\jvm.dll
To solve this error I created a new batch file in the FLEX3_HOME/bin directory and named it mxmlc64bit.bat with the following one line:
 ”%JAVA_HOME%\bin\java.exe” -Xmx384m -Dsun.io.useCanonCaches=false -jar “%~dp0\..\lib\mxmlc.jar” +flexlib=”%~dp0\..\frameworks” %*
 This bascially executes java to load the mxmlc.jar directly similar to what the linux script does […]

Hauppauge HD PVR Streaming to Flash Player

This blog shows how to stream directly from the Hauppauage HD PVR H.264 Encoder to a Flash Player Client with no need to reencode the audio or video.  To accomplish this I have used a series of Windows DirectShow Filters to receive the stream from the HD PVR, send the stream out to the network […]

Working udev rules for multiple pvrusb2 and hvr-1950 devices

I have 6 WinTV HVR-1950 Model Category 751xx usb devices attached to one MythBuntu box recording 6 composite audio/video feeds from 6 security cameras.
Whenever the machine reboots the usb devices are assigned their device filename in non-repeatable and not well defined order so that each time /dev/video0 will probably be a different device.
So I knew […]

Hauppauge WinTV HVR-1950 on Linux MythBuntu MythTV

What I did to get analog tv tuner, composite, or s-video capture to work:

Fresh install of mythbuntu 9.04
Extract and install the firmware files for HVR-1950:

Download http://www.isely.net/downloads/fwextract.pl to ~/Desktop
Insert the CD that came with your HVR-1950 (contains windows drivers) [assume it mounted as /media/cdrom0]
cd ~/Desktop
chmod u+x fwextract.pl
./fwextract.pl /media/cdrom0/Drivers/
sudo copy *.fw /lib/firmware

Run mythtv-setup using sudo

sudo mythtv-setup
Capture Card […]

Outlook 2007 VBA Run A Script Rule Stopped Working

I have been banging my head against the wall on this one.  I wrote an Outlook 2007 rule that was set to “run a script”.  I used the Outlook integrated Visual Basic Editor (Alt+F11) to create one that would parse an email, pull out an html link for an xml file and save this url. […]

Flex messaging requires display-name entry in web.xml

Flex messaging (Flex Data Services, FDS, FDS2, now called LiveCycle) requires that the display-name entry be in the web.xml (for sure in JBoss, I assume in other Java servers).  Otherwise you will get errors similar to these:

08:04:06,018 ERROR Servlet threw load() exception
java.lang.NullPointerException
at flex.management.BaseControl.getObjectName(BaseControl.java:287)
[…]

Flex 2 Java Session Log Out

Here is how to log out a user (invalidate their java web session) assuming you have a Flex 2 front end with a Java back end. Also assuming you are using the standard J2EE JAAS authentication api to protect your web app this will log them out of the software. Create a back end java function […]

Upgrading the Internet Explorer Active X Controls in Delphi 5

Component > Install Packages…
“Internet Explorer Controls”
Remove
Component > Import ActiveX Control
“Microsoft Ineternet Controls (Version 1.1)”

Renaming Folders in CVS

When renaming a folder in CVS, you will need to perform the following steps:

Rename the folder on the CVS server
On every client that already has it checked out, change the folder name and modify the

CVS/Entries file at the same level as the renamed folder
every CVS/Repositories file below the renamed folder

What a pain! Yet another reason to […]