How to build a binary XPCOM component using Visual Studio

Can you me explain why there are only one difference in the first section of the uuid in the comp.idl 263ed1ba-5cc1-11db-9673-00e08161165f and the cid in comp-impl.h with 0x245626, 0x5cc1, 0x11db, { 0x96, 0x73, 0x0, 0xe0, 0x81, 0x61, 0x16, 0x5f }? Its very confusing for a beginner. Make a Example with a complete new cid.

It's not really clear where to put xpt and dll file. What is the {app} folder in the xulrunner folder ?
"Install Component: Copy your XPT and DLL files to the {app}/components folder. You should not put your component in the xulrunner/components folder." 

Document Tags and Contributors

 Contributors to this page: ecaradec, TheRave
 Last updated by: ecaradec,