Generic Conduit is the other approach to creating a conduit that handles two-way syncing. It is based on a new set of classes (currently unsupported) that Palm Computing has recently started distributing. Having seen all that is involved in creating a conduit based on the basemon and basetabl classes, you can understand why Palm Computing wanted to offer a simpler solution to developers. Generic Conduit is one of Palm’s solutions to this problem—these classes are intended to make it easier to get a conduit up and running.
There are some powerfully persuasive advantages to basing a conduit on these new classes:
Generic Conduit contains everything, including ConfigureConduit, GetConduitName, etc. If you compile and register it, it’ll be happy to two-way sync your Palm database to a file on the desktop. This approach requires the use of its own file format, however. If you don’t like that format, you need to customize the Generic Conduit classes to some extent.
The number of classes and the number of methods are much less daunting than those found in the basemon and basetabl classes.
The entire source code is provided; you don’t have to rely on
any DLLs (basemon uses
Tables.DLL for the CBaseTable class and MFC for
serialization). Further, if you so desire, you can change any or all
of the source code.