Calling the DLLs from Microsoft Visual Basic .NET using the new VB.NET header file in conjunction with FLDLL224ML

The information here is applicable to FLDLL224ML.

Most of the NAG Fortran Library routines are callable from Visual Basic .NET (VB.NET). A new VB.NET header file has been generated which is more appropriate for use within the .NET environment.

The new header file is very different from the old one, especially in the way that arrays are passed, so the information and examples for use with the new declarations are incompatible with the old declarations and vice versa.

You will need to modify existing code that calls NAG Library routines with array arguments if you wish to use the new headers.

The declarations in this header file refer directly to the version of the NAG Library that uses NAG BLAS and LAPACK routines, i.e. FLDLL224M_nag.dll. If you wish to use the version that uses MKL BLAS and LAPACK routines instead, please change these references to FLDLL224M_mkl.dll, e.g. change

   Declare Sub A00AAF Lib "FLDLL224M_nag.dll" ( _
   )
to
   Declare Sub A00AAF Lib "FLDLL224M_mkl.dll" ( _
   )
etc. See the Installer's Note Section 2.2, the Installer's Note Section 3.1 and the Users' Note Section 4 for more information on the different versions. Note that these DLLs (and, for FLDLL224M_mkl.dll, the MKL DLLs) must be on the Path. Please refer to the Users' Note Section 4.1 for details.

Key information

Example projects

The example projects were created using Visual Studio .NET 2003; if loaded into Visual Studio 2005 or later, the solution and project files will be converted by the Visual Studio Conversion Wizard. They have been tested with Visual Studio .NET 2003, 2005, 2008 and 2010.