DynObj - Examples
There are two ways of building included libraries and samples:
The main makefile is dynobj/makefile.
- Ordinary GNU makefiles
- MS Visual Studio IDE files
The later can be found in directory dynobj/msdev.
Examples in source download
The source download contains four examples in the dynobj/samples
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.
- main1 + Person1
- main2 + Person2
- main3 + Person3
- AmbigId + AmbigHost
Note: To build the samples you have to first build the support
libraries in the dynobj directory:
make dolibdort doliblt ds
There are a couple of default libraries that can be built:
They contain plugin classes that are 'production ready' and
have a bit more functionality.
- DynStr - generic string interface/object
- DynArr - generic array interface/object