Automate COM server wizard

Automate COM server wizard

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).

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

> 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

Leave a Comment

Please sign in to add a comment. Not a member? Join today