I am new to Windows programming, and is writing OLE automation programmes based on WIN API using MinGW.
I\'ve used GetActiveObject to get running several application