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

COM-Server Project Imported from DVF: incomplete macro call NEW_PIPE_INTERFACE

juergenrarey_net
Beginner
705 Views

Hello,

I experience a problem with a DVF COM Server project that I imported into IVF.

The error message I receive is given below (incomplete macro call NEW_PIPE_INTERFACE).Is there any chance to solve this issue?


best regards

Juergen


1>------ Build started: Project: PEQCOM, Configuration: Release Win32 ------

1>Creating Type Library...

1>server.idl

1>Processing C:rareysourceIntel FORTRANRECVAL Version 2010PEQCOM V2server.idl

1>Processing C:Program FilesMicrosoft SDKsWindowsv6.0Aincludeoaidl.idl

1>Processing C:Program FilesMicrosoft SDKsWindowsv6.0Aincludeobjidl.idl

1>C:Program FilesMicrosoft SDKsWindowsv6.0Aincludeobjidl.idl(3112): #error: incomplete macro call NEW_PIPE_INTERFACE.

1>C:Program FilesMicrosoft SDKsWindowsv6.0Aincludeobjidl.idl(3116): #error: incomplete macro call NEW_PIPE_INTERFACE.

1>C:Program FilesMicrosoft SDKsWindowsv6.0Aincludeobjidl.idl(3120): #error: incomplete macro call NEW_PIPE_INTERFACE.

1>midl : command line error MIDL1003 : error returned by the C preprocessor (3)

1>

1>Build log written to "file://C:rareysourceIntel FORTRANRECVAL Version 2010PEQCOM V2ReleaseBuildLog.htm"

1>PEQCOM - 1 error(s), 0 warning(s)

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

0 Kudos
3 Replies
Steven_L_Intel1
Employee
705 Views
I think you will need to recreate the .hie using the COM Server Wizard. Can you attach a ZIP of your project? (Do a Build > Clean first.)
0 Kudos
juergenrarey_net
Beginner
705 Views
Steve: The project is rather lengthy and requires numerous other COM-components to run. Difficult to extract a working part....

So I did a little research......

I attach the original PEQCOM.hie (DVF) and you can see that I would like to avoid retyping everything.
I generated a simple PEQCOM_I.hie (attached) and the syntax is obvious. I think I canconvert the methods with arguments from C-syntax to xml with a few lines of VBA.

Once I generate a valid .hie, all the rest happens automatically?

In other words: Also the old DVF COM Server Wizard only edited the .hie and from that everything else was generated?

So changing the .hie (even outside Visual Studio) is everything that is needed, the rest is automatic?

regards - Juergen

0 Kudos
Steven_L_Intel1
Employee
705 Views
It is my understanding that you have to completely recreate the project using the new COM Server Wizard - you can't just import the CVF project. But you can try using the HIE editor in VS to make some change so that the files are recreated. Editing outside VS probably won't work, but you're welcome to try. I can't do anything with your .hie files. If you make changes to the .hie in VS, the generated files will get recreated.
0 Kudos
Reply