Sample Borland C++ Builder Projects Illustrating How to Call the NAG C LibraryThis web page contains links to several zip files, each containing a Borland C++ Builder project showing how to call a different NAG C Library function.The projects were tested using Borland Developer Studio 2006 / Borland C++ Builder Preview Version 10.0 and may not work with other versions of Borland C++ Builder. Please check that the following project options are set correctly:
Another important point to note is that the NAG C Library was built on the assumption that enumerated types are compatible with four-byte integers, and so if you wish to call a NAG function which has an enum type as an argument, you MUST ensure that the "Enums always integer sized" box is checked in the C++ Compiler (bcc32) | Compiling section of the Project Options.
Remember also that to be able to run the program after you have
compiled it, the NAG C Library DLL 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>Occasionally, when using the MKL-based DLL, the handling of floating-point exceptions may cause the program to terminate abnormally; if you experience such problems, it is recommended that you use the self-contained NAG DLL instead. |
© 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/BorlandC++Builder/README.asp