Dave Smith wrote:
> 
> Unfortunately, this doesn't always hold true, or at least this is my
> experience with one particular header.  I use the function DlkGetSyncInfo to
> get the HotSync name.  However, when including (only) pilot.h, I get an
> undefined symbol error.  I also (explicitly) must "#include <dlserver.h>" to
> get visibility to this function.  So it appears that there may be a select
> few number of functions that require additional headers...

   Well, UIAll.h only includes 18 of the 32 header files in the
UI directory, and SysAll includes just another 18 of the 81 System
headers.  So,
   1. You (earlier poster) are probably not wasting too many
cycles by include'ing Pilot.h instead of individual header files.
   2. If you (Mike Davis) need to use an additional header, just
add it.  It's not too difficult to run a text search to find out
where the function is located.

Regards,
Daniel.

Reply via email to