Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29418 Discussions

Creating a COM object using COMCreateObjectByProgID

skellett
Beginner
596 Views
I successfully created a COM server using the instructions on the help pages.
The properties can be picked up ok by our VB developers, however I would like to be able to test my test COM objects using fortran before giving to the VB developers. I have hit a problem on the first hurdle.

This is the line of code that I entered:

CALL COMCreateObjectByProgID('test_com.testcom',myObject,STATUS)

the VB developers picked up things ok by using just testcom as the progid, I have used testcom without test_com but myObject always comes back with 0.

If there is anyone out there who can help I would be grateful.
Although an experienced Fortran programmer on HP platforms and on an IBM Mainframe this is my first time at using Compaq Fortran on a PC especially using COM technology.

Stan

ps please email me direct at stanley.kellett@metoffice.com
0 Kudos
0 Replies
Reply