Opened the VISUAL STUDIO 6 project and converted it to VS2005 - fixed a couple of bugs.

Signed-off-by: Mathias Wynne <github@mathiasw.com>
Converted the BIRDS project from VC6 to VS2005.

Signed-off-by: Mathias Wynne <github@mathiasw.com>
Converted the project, built it, and added the HTM files to the project for ease, and Lo! The buggers work! Need to try and make this work on 2010. Can probably try and see what the source differneces are using a merge tool.

Signed-off-by: Mathias Wynne <github@mathiasw.com>
Added batch files to register and de-register. You MUST run these as admin!

Signed-off-by: Mathias Wynne <github@mathiasw.com>
Adding the original HTML files from the old project.

Signed-off-by: Mathias Wynne <github@mathiasw.com>
Moved files

Signed-off-by: Mathias Wynne <github@mathiasw.com>
WOOHOO! CalcPi1Mathias.htm now works!

Also:
Crib guide updated
RAR and ZIP files ignored
URGENT: There were some VERY serious errors in this file causing infinite loops.

Signed-off-by: Mathias Wynne <github@mathiasw.com>
WOOHOO! Now the persistence works correctly ...
Specifically...
Forgot to include COM_INTERFACE_ENTRY(IPersistPropertyBag) in the COM map even though we were derived from IPersistPropertyBag...
General changes to the code to make it look more like the example - reformatting comments.

Signed-off-by: Mathias Wynne <github@mathiasw.com>
WOOHOO! And now the events code is completed and the web page that shows the distribution of Pi is complete. Looking good so far!

Signed-off-by: Mathias Wynne <github@mathiasw.com>
Oops I forgot the actual HMTL to go in the project.

Signed-off-by: Mathias Wynne <github@mathiasw.com>
Replaced the correct call to the actual function that actually works out Pi, now that I have corrected the infinite loops.

Signed-off-by: Mathias Wynne <github@mathiasw.com>
Added a simple dialog using the Wizard to handle the advertisement. Currently re-editing the file to make it prettier.

Signed-off-by: Mathias Wynne <github@mathiasw.com>
Advert dialog completed. Now need to add the message handlers.

Signed-off-by: Mathias Wynne <github@mathiasw.com>
WOOHOO! The events were not being ocrrectly fired when the Fire_OnDigits was called, and this has now been corrected. I was looking at the wrong DLL, oops.

To be precise:
Call to FireViewChange() added to CCalcPi::put_Digits()
Call to Fire_OnDigit() added to CCalcPi::put_Digits(long newVal)
CCalcPi derives from IProvideClassInfo2Impl<&CLSID_CalcPi, &DIID__ICalcPiEvents> to handle events
CCalcPi derives from CComControl<CCalcPi> so as to get the implementation of Fire_OnDigit()
Added IProvideClassInfo and IProvideClassInfo2 to COM_INTERFACE_MAP of CCalcPi
Added CHAIN_MSG_MAP(CComControl<CCalcPi> to MSG_MAP of CCalcPi

Signed-off-by: Mathias Wynne <github@mathiasw.com>
Tidied up, added the bitmap for use in a second.

Signed-off-by: Mathias Wynne <github@mathiasw.com>
Added a simple forms test program to handle the control and see if it works.

Signed-off-by: Mathias Wynne <github@mathiasw.com>
Added draw functionality for the embeddable control.
Added the WindowsFormsTest project to the main solution

Signed-off-by: Mathias Wynne <github@mathiasw.com>
Latest versions for laptop

Signed-off-by: Mathias Wynne <github@mathiasw.com>