- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm getting an error when trying to pass a safearray from CVF to VB .NET via COM Interop (Scenario 1). The COM interface was built using the Fortran Module Wizard and the code had been tested in CVF 6.1A and 6.6B. I can pass a string from CVF to VB .NET (Scenario 2), and I can use VB 6.0 to pass a safearray to VB .NET (Scenario 3). I've attached the files from scenario 1. Any help would be greatly appreciated.
Thanks,
Tim Coletta
tim.coletta@mercer.com
Scenario 1:
A bug was discovered passing safearray from fortran to VB .NET dll through COM Interop - does not work:
VB .NET part of testing passing 1-dimensional safearray (ADOTestLite.dll): ADOTestLite.zip
CVF version 6.1.A part of testing passing 1-dimensional safearray (testcom.exe): testcom.zip
Scenario 2:
Passing string from fortran to VB .NET dll through COM Interop works:
VB .NET part of testing passing string (ADOTestLite2.dll): ADOTestLite2.zip
CVF versio
Thanks,
Tim Coletta
tim.coletta@mercer.com
Scenario 1:
A bug was discovered passing safearray from fortran to VB .NET dll through COM Interop - does not work:
VB .NET part of testing passing 1-dimensional safearray (ADOTestLite.dll): ADOTestLite.zip
CVF version 6.1.A part of testing passing 1-dimensional safearray (testcom.exe): testcom.zip
Scenario 2:
Passing string from fortran to VB .NET dll through COM Interop works:
VB .NET part of testing passing string (ADOTestLite2.dll): ADOTestLite2.zip
CVF versio
Link Copied
0 Replies

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