A long time ago :o) I tried to use OCAF in an application, this took a lot of time because there where no documentation on how to implement it. I had to look up most things by browsing through the source code.
A gave up and is now using my own code for doing the same stuff.
Today there is a pdf file that does a good job on explaining how to use OCAF in an application, but as far as I can tell, there are still not a word on how to get it up and running.
You need to subclass the TDocStd_Application and implement the Resourcenames() and Formats() methods (the doc says this ;-), but there are still not a single word about what these two methods should return.
As you can see there has been some question about OCAF the last few days, and the docs are still not enough to get you up and running.
The things that are missing are:
1. A simple example (or this there one available maybe, and I have missed it ?)
2. A description of how to implement the TDocStd_Application (Resourcenames and Formats methods).
3. A description on how to create and access the REGISTRY file you need.
4. A note that you need a driver for the serialization and where to find this driver and how to setup ip up so the application can find it, trust me this is not easy without documentation.
Without this information it is very, very difficult to get OCAF working without hours of browsing through the source code, belive me, I have done it.