Passing Arrays to a method in a COM server

Passing Arrays to a method in a COM server

I use Compaq VF 6.6B.
I developed 2 COM servers: ThermoProp.dll and zFlow.dll. I use them from Visual Basic, Matlab and Excel with no problems.

Now I would like to call ThermoProp methods from zFlow. I created an interface using the VF module wizard. I realized that in order to pass arrays as arguments I need to convert them into SafeArrays.
I created a test program and inserted the code from the SafeArray example which is provided with Compaq Visual Fortran.
I still get errors when compiling. I understand there is an incosistency in the variable types but I really cannot understand how to solve it and I could not find examples.
Can you help me?
Please find attached the code of my test program.
Thank you very much,
Best regards,

2 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.

Woops I forgot the files

Kommentar hinterlassen

Bitte anmelden, um einen Kommentar hinzuzufügen. Sie sind noch nicht Mitglied? Jetzt teilnehmen