Herd Software Development
DaVinci Graphics Library
Implementing DaVinci in C/C++
These simple instructions should be all you need to get up and running with the demo projects supplied with DaVinci.
Add DaVinciís installed directory to your INCLUDE path. The LIB files are installed to the LIB\BC45 directory in Borland C++ 4.5x and other 16 bit compilers, and to the LIB\MSVC for the 32 bit Microsoft compiler.
Add the following statements at or near the top of your application, but make sure these are added after your include statement for windows.h:
Incorporate DAV3_32.LIB and LEON3_32.LIB into your project (or LEON3_16.LIB and DAV3_16.LIB if itís a 16 bit project).
Create a button or menu item in your application for import and assign the appropriate code to this item in the programís source. Call the ipImportInd function for importing graphics. Youíll find source for an ipImportInd demo application linked in the description of the function.
Create a button or menu item for export, and once again assign the appropriate code to this item. Call ipExportInd for graphics export.