Archive for July, 2009

.NET 2008 ATL COM DLL can’t fire events

Wednesday, July 22nd, 2009

After fiddling around with .NET 2008 ATL COM DLLs and creating events, the class object that implements the interface does not have any reference to the event.  After searching on the net, there were no solutions.  After reading the MSDN documents over and over (ATL tutorial, Step 5: Adding an Event), it mentioned to make sure that the IDL file contains the function.  I checked after I created it, but to my surprise… there is no function declaration.  I added it manually, then went back to the class, added the connection point, and finally… there’s the “Fire_” function.

Update: Nevermind… the tutorial does work.  I was not adding the function correctly.

Dual Monitors

Friday, July 17th, 2009

http://www.jejik.com/articles/2008/10/setting_up_dual_monitors_system-wide_with_xrandr_on_debian_lenny/

OSX Leopard on Powerbook G4 12″ Aluminum

Friday, July 3rd, 2009

I have the OSX Leopard (10.5.x) DVD installer, but it is a dual layer disc.  The Powerbook G4 does not support dual layer discs.  So, I had to strip down the installer inorder to install it.  Using OSX Tiger (10.4) installer was easy and fast.  But it was a single layer disc.

I found many tutorials to stripdown/slimdown/convert to single layer DVD, but the only one that worked was…  http://web.mac.com/owenmcgarry/Downloads/Leopard_on_a_single_layer_DVD.html

Now… lets install Xcode with Iphone SDK…