Robert gave me the solution for this. Its not something you add to the code, instead you can change the parameters of Hal's shortcut in the "startup" folder to include: <SHOWHAL><MICON>
That worked perfectly! Hal starts up and is listening when my computer boots up. This work great for my application which is installed in a vehicle, its not convenient for me to have to grab the keyboard, go in to the computer and enable Hal.
Thanks Robert!