Still couldn't compile the OCAF package. The linker gives an error like "invalid file or disk full" when the ApplicationFramework packages are added to the wrappers. Looks like a corrupt library or like some error generated by the big number of libraries used. Tried separately the packages and they compile and link properly.
Will work at generating a separate assembly for ApplicationFramework, task that should be finished in 1 day. There is a possibility not to succeed making this module a separate assembly because encountered problems when passing native pointers between separate assemblies.