- Multi-OS Installation Seminar March 2017
- 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
- Unix System Programs
- About Dr. Gokhale
- Sir’s Setup
- Technical Credentials
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
Assignment by Bhagyashree Pandit (UNIX Dec 2013 batch)
Q : Why did you do this programs?
Bhagyashree : As UNIX was in the syllabus of my last semester, Theory as well as University practical. So, sir (Dr Vijay Gokhale) told in class to refer Advanced Programming in the UNIX Environment – By W. Richard Stevens (now referred as book), as it gives the practical idea of “The Design of the UNIX Operating System by Maurice J. Bach”.
So when I start reading this book, first I solved the practical assignments with the help of this book, after that sir told me to do programs given in this book, so I started solving the same and I finished the last chapter of the book last month only.
Q : How it helped you to understand UNIX operating system ?
Bhagyashree : Well, it’s worth in many ways. First, if you know UNIX, you can understand many other operating systems since UNIX seems to be as the base (or Mother ) of most operating systems (for eg: OSX ) and secondly, many servers runs on UNIX. Also, it is fun knowing stuff most people never heard of. It can never hurt to learn as much as your interest is peaked, since I am still a student.
Most importantly you realize ‘why’ we are doing the things inside the operating system as the way we are doing. While reading operating system algorithms in Bach, it always remains back of the mind that we have to provide ‘such and such’ system call to the application programmer using which application programmer is going to write his application.
And if application programmer is to get that built in behaviour via system call then operating system has to implement it. To implement that behaviour, all this is going on. That’s how the logical chain proceeds. That means as an application programmer, I just call a fork() to create a new process. While learning allocreg, attachreg etc. I keep that in mind.
Programs are uploaded here