- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
Piero
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,
Piero
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Woops I forgot the files

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page