DynObj - Examples
There are two ways of building included libraries and samples:
- Ordinary GNU makefiles
- MS Visual Studio IDE files
The main makefile is dynobj/makefile.
The later can be found in directory dynobj/msdev.
Examples in source download
The source download contains four examples in the dynobj/samples
directory:
- main1 + Person1
- main2 + Person2
- main3 + Person3
- AmbigId + AmbigHost
They show basic use of the library. The last sample is a bit more
involved and demonstrates how anonymous duplicate type IDs can be
resolved at run-time.
Note: To build the samples you have to first build the support
libraries in the dynobj directory:
make dolibdort doliblt ds
Examples libraries
There are a couple of default libraries that can be built:
- DynStr - generic string interface/object
- DynArr - generic array interface/object
They contain plugin classes that are 'production ready' and
have a bit more functionality.
|