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

Automate COM server wizard

dlemmon
Beginner
364 Views
We are developing Fortran COM servers using the COM server wizard with great success. What we would like to do is to automate the process of "wrapping" the COM server. Some of our interfaces have a lot of properties and methods, and manually adding them in the COM server wizard can be quite tedious, especially when we make frequent changes and improvements to the interface. We now have a perl script that takes information from a user-written f90 module and builds the *.hie file that the COM server wizard uses to create automatically generated code. Our script also creates the "U" files that define the per-instance data and method code. When we use the script we have to then invoke the COM server wizard, make some superficial change (modify a help string) to get it to generate the automatically generated code.

My question is: is there some way to invoke the COM server wizard and get it to regenerate code in some automated way? (If the COM server wizard were a COM server itself with a "generateCode" method, this could be invoked from ActivePerl using OLE automation). Perhaps this is something that can be considered for future versions of VF (CVF or IVF).
0 Kudos
1 Reply
Leo_T_Intel
Employee
364 Views
> My question is: is there some way to invoke the COM
> server wizard and get it to regenerate code in some
> automated way? (If the COM server wizard were a COM
> server itself with a "generateCode" method, this
> could be invoked from ActivePerl using OLE
> automation). Perhaps this is something that can be
> considered for future versions of VF (CVF or IVF).

Hi,

Unfortunately, there is not currently a way to automate the re-generation of the server code. We will add your request to our wish-list.

Regards,
Leo
0 Kudos
Reply