Visual Basic .NET Declarations for the NAG C LibrarySupport files for Visual Basic .NET (VB.NET) may be found in this zip file. These files can be used in VB.NET code. Separate Visual Basic 6 / Visual Basic for Applications skeletons are available.
For each user-callable NAG C Library function there is a file called
The skeleton files are based on the stand-alone version of the NAG C Library DLL (CLDLL084Z_nag.dll); to specify the version of the DLL which uses the MKL BLAS/LAPACK instead (CLDLL084Z_mkl.dll), replace CLDLL084Z_nag.dll by CLDLL084Z_mkl.dll in the Function or Sub declaration. The file nag_errlist.vb contains VB code setting the value of all NAG C Library error codes. This file can be imported into your VB project. Note that unlike VB6, VB.NET does not support "Option Base 1", so all arrays start at 0.
Remember also that to be able to use the NAG C Library DLL, its
location will need to appear somewhere in your current path. If the
DLL is in C:\Program Files\NAG\CL08\cldll084zl\bin;C:\Program Files\NAG\CL08\ cldll084zl\MKL_ia32_8.0\bin;<rest of path> |
© Numerical Algorithms Group
Visit NAG on the web at:
www.nag.co.uk (Europe and ROW)
www.nag.com (North America)
www.nag-j.co.jp (Japan)
http://www.nag.co.uk/numeric/CL/classocinfo/VB.NET_skeletons/README.asp