Windows DLL support for various environments
The Windows DLL versions of the C Library are callable from many different environments including
- Microsoft Visual C++
- Microsoft Visual Basic 6
- Microsoft Visual Basic .NET
- Microsoft Excel
Projects illustrating the use of the DLLs from the above environments are presented here:
- Using the NAG C Library Mark 25 Windows DLLs
- Using the NAG C Library Mark 24 Windows DLLs
- Using the NAG C Library Mark 23 Windows DLLs
- Using the NAG C Library Mark 9 Windows DLLs
It is expected that, as experience is gained in new environments, further advice on the interoperability of the NAG C Library Windows DLLs will become available and we intend to publish updates to the advice in these documents from time to time.
Calling NAG C Library (DLL) from C#
Microsoft has provided techniques for calling non-managed code from C#, and .NET generally, summarized in three key concepts: attributes, assembly, and marshalling. Using these concepts it is possible to call the vast majority of NAG C Library functions fairly easily. Details for the C Library Mark 25 are given here.
You may also be interested in the NAG Library for .NET – see here for details.
Calling the NAG C Library from Java
We show examples using Java running on both UNIX and Microsoft Windows platforms. The techniques described are also applicable to other libraries, such as the NAG Fortran Library.
Decision Trees within many chapters in the NAG C Library make finding the right routine easier and quicker than ever before. These trees are incorporated into the chapter introductions and lead the user through some simple yes/no questions that categorize the problem and suggest the most suitable routine(s) to be used.