Gitignore

Signed-off-by: Mathias Wynne <github@mathiasw.com>
Added the general ATL examples

Signed-off-by: Mathias Wynne <github@mathiasw.com>
I have added a simple VB test application, but I get this error message:

An unhandled exception of type 'System.Reflection.TargetInvocationException' occurred in Microsoft.VisualBasic.dll
Additional information: COM target does not implement IDispatch.

Signed-off-by: Mathias Wynne <github@mathiasw.com>
registrion of the DLL has been put back in

Signed-off-by: Mathias Wynne <github@mathiasw.com>
URGENT! for some reason CalcPi.h did NOT have CCalcPi derived from IDispatch. How did that happen? Disaster! This has been corrected now.

Signed-off-by: Mathias Wynne <github@mathiasw.com>
Split out all the ATL controls seperately

Signed-off-by: Mathias Wynne <github@mathiasw.com>
Things have improved. Now we get the error message from VB:

An unhandled exception of type 'System.MissingMemberException' occurred in Microsoft.VisualBasic.dll
Additional information: Public member 'digits' on type 'ICalcPi' not found.
A very simple Aardvark registation program.
Simply create an Anteater from Library Aardvark and then manipulate it using the interface IAnteater.

Signed-off-by: Mathias Wynne <github@mathiasw.com>
URGENT: In order to get the interfaces IsetMyselfOnFire and IAdvertiseMyself to show up in VB, you MUST add them to the IDL file. Not sure if this makes a difference to the generated code, but this is the onyl way that VB will display things.

Signed-off-by: Mathias Wynne <github@mathiasw.com>
No real changes to these files, just the date and time.

Signed-off-by: Mathias Wynne <github@mathiasw.com>
URGENT: Forgot to use the Wizard to create the property "Digits", but still have the methods getDigits and put_Digits present, so it could not then be called. So now I have hidden the functions put_Digits and get_Digits and will re-run the wizard for these functions...

Signed-off-by: Mathias Wynne <github@mathiasw.com>
Re-ran the Wizard to add the property Digits, and now all the methods are correctly wired up together. Changed the VB test app to match.

Signed-off-by: Mathias Wynne <github@mathiasw.com>
Corrected (or rather, don't use) the function NineDigitsOfPiStartingAt() as it seems to be running in an infinite loop, oops.

Signed-off-by: Mathias Wynne <github@mathiasw.com>
In the morning I need to check all of this with simple windows scripting in a WSH file.
I don't seem to be able to get the HTM code to generate anything properly.
VBTest Added

Signed-off-by: Mathias Wynne <github@mathiasw.com>
Added a couple of VBS macros

Signed-off-by: Mathias Wynne <github@mathiasw.com>
Created a simple test web page using the ActiveXServer widgets

Signed-off-by: Mathias Wynne <github@mathiasw.com>
Added persistence and a sample HTML page (wich does not yet work).
For more information about ATL’s implementation of persistence, see Chapter 7, “Persistence in ATL.”

Signed-off-by: Mathias Wynne <github@mathiasw.com>
Downloaded ATL internals from: http://www.codeproject.com/KB/atl/ATL_EventReceiving/atl_internals.zip and see if it builds any better than my versions.

Signed-off-by: Mathias Wynne <github@mathiasw.com>
Just needed to change the imports and the downloaded source code works just fine!

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