Definition of... Synchronising Creating... References

Conduit

Definition of a Conduit

A conduit is a Windows DLL module that provides a translation

bridge between a Palm Computing platform device application and

a particular desktop application. For testing your conduit, you must

also have either a Palm Computing platform device or a properly

set up Palm OS ® Emulator (POSE).

What does a Conduit do?

A conduit is responsible for the application’s data during a synchronization between the handheld and

a desktop computer. The conduit needs to:

Syncronising

The progran that transfers data between Handheld and Palm is called

HotSyncManager.exe. It uses the Conduits for getting instructions on how to exchange

information between the components. Syncronisation may have three variants of

directions, Palm to desktop, Desktop to Palm or both ways.

Our TvGuideConduit is oneway, Desktop to Palm.

TvGuide Conduit

This conduit, as all conduits, recognise the other components in the application and then

check the required Entry points as OpenConduit(), GetConduitVersion(),

GetConduitName() and then allows syncronisation between Desktop and Handheld.

This conduit open and close Programs-Tvgu, database on the Palm device. It converts a

textfile, prToPalm.tvg into the applicationdatabase. When syncronization is done, the text

in prToPalm.tvg has been converted into databaseformat and are ready to be displayed.

Creating TvGuideConduit

To create TvGuideConduit it is recommendet to develop the software with Microsoft

Visual Studio C++ 6.0 and CDK4 (Conduit Developer Kit 4.0). You can find useful

examples for developing this type of project in Palm Programming, the developers guide.

To start with VC++, you need to proceed with following steps:

Installation of TvGuideConduit

Installation of conduits when developing your own, is a difficult procedure. Since you

have to register your conduit and name paths and catalogname in certain steps that may be

a bit complex to a common user. But there is a better solution to this problem. You can

develop an installation application in VC++, where all needed information allready is

entered.

On how to use this installation program, see the Readme.txt file which follows TvGuide

application.

References

Neil Rhodes, Julie McKeehan, David Pogue: Palm Programming. O’Reilly UK

Eric Giguere: Palm Database Programming. John Wiley and Sons

Pogue, David: PalmPilot: The Ultimate Guide, 2nd Edition. O’Reilly 1999

Palm Pilot Devzone: www.palm.com/devzone