- Computer Fundamental Seminar Sept 2016
- OpenGL Seminar Program
- Gokhale sir is AAE (ARM Accredited Engineer)
- Automation Python Client(32bit) and more
- COM Automation Program via command line instructions
- Inside COM book programs
- WRL Class Library
- Program for WinRT batch
- COM Automation Code
- September 2016
- August 2016
- April 2016
- November 2015
- October 2015
- September 2015
- December 2014
- November 2014
- September 2014
- January 2014
- December 2013
- November 2013
- September 2013
- June 2013
- April 2013
- September 2012
- August 2012
- July 2012
- January 2012
- December 2011
- March 2011
- December 2010
- October 2010
Hello Students ,
01) Link of author of “Professional Embedded ARM Development” : James Langbridge
02) Link About His AAE Experience In His Own Words :
Mail from ARM
03) Link for ARM Connected Community Blog Link :
Dr. Vijay Gokhale.
Many Many congratulations for becoming AAE to Dr. Vijay Gokhale sir from all students.
1) Just open the html client page in Internet Explorer.
2) Accept the warnings given by IE and click on ‘Allow blocked contents‘
3) Provide two sample integer values in Num1 and Num2‘s text boxes
4) Click on ‘Call COM Method’ button and Click on ‘Yes’ if prompted by browser.
5) Check the output in message boxes prompted by IE.
I have tested it on Internet Explorer 11 , Windows 8.1 x64bit and 32bit COM Automation component(same which is used for Python Client). Only limitation of Java Script client is, it runs only on Internet Explorer.
by : Jeevan Gaikwad
I have written a python script to use our COM Component in Python. I learned basic Python syntax for our client. I have used Python 2.7.10(32bit) version on Windows 8.1(64bit). I have added the extension comtypes to Python installation which supports Python 32 bit. That’s why I had to create our 32bit Automation server component. This extension allows us to support COM components. I have tested the Python Script and working good. 🙂 Please find the attached script file.
It took 2 days to work around this and for Java script client(did not get success). I have also tried C client. It’s very good. I feel, it actually gives us a idea about how CPP’s class must be written in C(header file for C client is highly noteworthy) and also gives clear idea about virtual function table, its actual use via lpvtbl pointer.
As you said, C# does not use our IDispatch but directly calls those two methods via custom interface, I had put message boxes in the IDispatch’s functions and observed the same behavior. In case of VB client, it uses our IDispatch. In case of Python client, I observed that it is not using IDispatch but directly calls CoCreateInstance for our provided interface(here it’s IMyMath). It uses our registered type library. We can easily call QI in Python client to get desired interface pointer.
Our sessions on why Java/.NET came and now why WinRT introduced, were really good. I enjoyed them and we got the clear idea “How should we start learning a technology and How it should be taught”. Thank you.
Note: Rename PythonClient from .txt to .py
By: Jeevan Gaikwad
To develop COM Automation program through Visual Studio takes significant efforts to make custom settings. To reduce these efforts and to compile and link programs easily, command line instructions have been provided in this file.
Please download the programs from following link
COM Programs From Dale Rogerson’s Inside COM
Download the code from here