Re: SyncOpenDB Equivalent?

2005-11-30 Thread Jim Cooper



This is not a command line compiler.
It's Borland's.


It actually is still a command line compiler (this is true even in Delphi 2006) 
:-) There is most likely an argument missing somewhere (whether you set that 
argument from the command line or from the IDE)





Cheers,
Jim Cooper

__

Jim Cooper[EMAIL PROTECTED]
  Skype : jim.cooper
Tabdee Ltdhttp://www.tabdee.ltd.uk

TurboSync - Connecting Delphi to your Palm
__

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: SyncOpenDB Equivalent?

2005-11-30 Thread Del Ventruella
Thank you.  I admit that I am no expert when it comes to creating dll's, but
I've never encountered this problem before when writing executables.

I did check through the options tabs but saw nothing that indicated that it
had to be filled in by a file name when I reviewed the help files associated
with each.


- Original Message - 
From: Jim Cooper [EMAIL PROTECTED]
Newsgroups: palm-dev-forum
To: Palm Developer Forum palm-dev-forum@news.palmos.com
Sent: Wednesday, November 30, 2005 3:24 AM
Subject: Re: SyncOpenDB Equivalent?



  This is not a command line compiler.
  It's Borland's.

 It actually is still a command line compiler (this is true even in Delphi
2006)
 :-) There is most likely an argument missing somewhere (whether you set
that
 argument from the command line or from the IDE)




 Cheers,
 Jim Cooper

 __

 Jim Cooper[EMAIL PROTECTED]
Skype : jim.cooper
 Tabdee Ltdhttp://www.tabdee.ltd.uk

 TurboSync - Connecting Delphi to your Palm
 __

 -- 
 For information on using the PalmSource Developer Forums, or to
unsubscribe, please see http://www.palmos.com/dev/support/forums/


-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: SyncOpenDB Equivalent?

2005-11-30 Thread Del Ventruella
I checked with Borland's developer newsgroups.  It seems that putting a +
symbol in the directory paths that one specifies under Builder for header
files causes the linker to develop a problem.  I had pointed to C++ in the
header and library file path listing under options on Builder, so this was
causing the problem linking (apparently a + symbol is a strange
character).  Of course, since the CDK seems to be intended to be compatible
with Microsoft products, this problem with the choice of directory names for
the CDK is not surprising.  (I renamed mine CPP, although CPlusPlus might
have been more literal.)

Thanks for all the suggestions.

- Original Message - 
From: Jim Cooper [EMAIL PROTECTED]
Newsgroups: palm-dev-forum
To: Palm Developer Forum palm-dev-forum@news.palmos.com
Sent: Wednesday, November 30, 2005 3:24 AM
Subject: Re: SyncOpenDB Equivalent?



  This is not a command line compiler.
  It's Borland's.

 It actually is still a command line compiler (this is true even in Delphi
2006)
 :-) There is most likely an argument missing somewhere (whether you set
that
 argument from the command line or from the IDE)




 Cheers,
 Jim Cooper

 __

 Jim Cooper[EMAIL PROTECTED]
Skype : jim.cooper
 Tabdee Ltdhttp://www.tabdee.ltd.uk

 TurboSync - Connecting Delphi to your Palm
 __

 -- 
 For information on using the PalmSource Developer Forums, or to
unsubscribe, please see http://www.palmos.com/dev/support/forums/


-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: SyncOpenDB Equivalent?

2005-11-29 Thread Del Ventruella
Are the function calls referenced in the error message below part of a dll
that may not be included in the 4.03 CDK?
I tend to believe the problem is either due to that or due to a file not
being in the location at which the linker is searching.
Any ideas?

Thanks.
- Original Message - 
From: Del Ventruella [EMAIL PROTECTED]
To: Palm Developer Forum palm-dev-forum@news.palmos.com
Sent: Monday, November 28, 2005 4:14 PM
Subject: Re: SyncOpenDB Equivalent?


 When I attempt to compile the sample conduit I get the following:

 [C++ Warning] IBMCondGenCond.cpp(472): W8004 'iResult' is assigned a value
 that is never used
 [C++ Warning] IBMCondGenCond.cpp(601): W8066 Unreachable code
 [Linker Error] Unresolved external '_SyncRegisterConduit' referenced from
 IBMCONDGENCOND.OBJ
 [Linker Error] Unresolved external '_SyncOpenDB' referenced from
 IBMCONDGENCOND.OBJ
 [Linker Error] Unresolved external '_SyncGetDBRecordCount' referenced from
 IBMCONDGENCOND.OBJ
 [Linker Error] Unresolved external '_SyncReadRecordByIndex' referenced
from
 IBMCONDGENCOND.OBJ
 [Linker Error] Unresolved external '_SyncPurgeAllRecs' referenced from
 IBMCONDGENCOND.OBJ
 [Linker Error] Unresolved external '_SyncCloseDB' referenced from
 IBMCONDGENCOND.OBJ
 [Linker Error] Unresolved external '_SyncUnRegisterConduit' referenced
from
 IBMCONDGENCOND.OBJ
 [Linker Error] Unresolved external '_SyncAddLogEntry' referenced from
 IBMCONDGENCOND.OBJ

 Is there a fix for these problems?  If not, is there a simpler conduit
 available that could be used as a beginning?

 - Original Message - 
 From: Del Ventruella [EMAIL PROTECTED]
 To: Palm Developer Forum palm-dev-forum@news.palmos.com
 Sent: Monday, November 28, 2005 10:47 AM
 Subject: Re: SyncOpenDB Equivalent?


  Thank you.  I will certainly take a look.
 
  - Original Message - 
  From: Frank Ableson [EMAIL PROTECTED]
  To: Palm Developer Forum palm-dev-forum@news.palmos.com
  Sent: Monday, November 28, 2005 10:15 AM
  Subject: Re: SyncOpenDB Equivalent?
 
 
  
   you will find a sample conduit here  (VC 6.0 project, no MFC).
  
   http://www.palm-communications.com/ibmdw/
  
   a companion tutorial document on how to build conduits is here:
  
   http://www-128.ibm.com/developerworks/edu/wi-dw-wiplm4-i.html
  
  
   these are from a few years ago, but will hopefully help.
  
   Frank
  
   - Original Message - 
   From: Del Ventruella [EMAIL PROTECTED]
   To: Palm Developer Forum palm-dev-forum@news.palmos.com
   Sent: Monday, November 28, 2005 8:49 AM
   Subject: Re: SyncOpenDB Equivalent?
  
  
Does anyone have a very basic conduit structure within a C++ file,
 free
   from
MFC materials, that they might be willing to send as sample code?
   
I am stuck at present.  I don't have VC++ or the .NET version with
 which
   to
construct such a file using the CDK wizard, and the conduit wizard
is
   built
around those IDE tools.
   
I'm not asking for fully developed, two-way sync code, just a basic
 file
that I can use as the basis for constructing a conduit, without
having
  to
try to piece it together from recipe material.
   
Thanks.
   
- Original Message - 
From: Jim Cooper [EMAIL PROTECTED]
Newsgroups: palm-dev-forum
To: Palm Developer Forum palm-dev-forum@news.palmos.com
Sent: Sunday, November 27, 2005 5:58 PM
Subject: Re: SyncOpenDB Equivalent?
   
   
  Is there a function built into the CDK header files

 Nope. Nothing in the CDK deals with databases on the PC end.

 There are a number of libraries available to do that, but you
 normally
don't
 want to do that. It is almost always much more efficient to deal
 with
   data
in a
 way that was designed to be used on a PC. PDB files were not
 designed
   that
way

 Cheers,
 Jim Cooper

 __

 Jim Cooper[EMAIL PROTECTED]
Skype : jim.cooper
 Tabdee Ltdhttp://www.tabdee.ltd.uk

 TurboSync - Connecting Delphi to your Palm
 __

 -- 
 For information on using the PalmSource Developer Forums, or to
unsubscribe, please see http://www.palmos.com/dev/support/forums/

   
-- 
For information on using the PalmSource Developer Forums, or to
   unsubscribe, please see http://www.palmos.com/dev/support/forums/
   
  
  
  
   -- 
   For information on using the PalmSource Developer Forums, or to
  unsubscribe, please see http://www.palmos.com/dev/support/forums/
  
 
  -- 
  For information on using the PalmSource Developer Forums, or to
 unsubscribe, please see http://www.palmos.com/dev/support/forums/
 

 -- 
 For information on using the PalmSource Developer Forums, or to
unsubscribe, please see http://www.palmos.com/dev/support/forums/


-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http

Re: SyncOpenDB Equivalent?

2005-11-29 Thread Frank Ableson
verify that your compiler has the cdk libraries in the input path

C:\CDK402A\C++\LIB


- Original Message - 
From: Del Ventruella [EMAIL PROTECTED]
To: Palm Developer Forum palm-dev-forum@news.palmos.com
Sent: Tuesday, November 29, 2005 9:55 AM
Subject: Re: SyncOpenDB Equivalent?


 Are the function calls referenced in the error message below part of a dll
 that may not be included in the 4.03 CDK?
 I tend to believe the problem is either due to that or due to a file not
 being in the location at which the linker is searching.
 Any ideas?

 Thanks.
 - Original Message - 
 From: Del Ventruella [EMAIL PROTECTED]
 To: Palm Developer Forum palm-dev-forum@news.palmos.com
 Sent: Monday, November 28, 2005 4:14 PM
 Subject: Re: SyncOpenDB Equivalent?


  When I attempt to compile the sample conduit I get the following:
 
  [C++ Warning] IBMCondGenCond.cpp(472): W8004 'iResult' is assigned a
value
  that is never used
  [C++ Warning] IBMCondGenCond.cpp(601): W8066 Unreachable code
  [Linker Error] Unresolved external '_SyncRegisterConduit' referenced
from
  IBMCONDGENCOND.OBJ
  [Linker Error] Unresolved external '_SyncOpenDB' referenced from
  IBMCONDGENCOND.OBJ
  [Linker Error] Unresolved external '_SyncGetDBRecordCount' referenced
from
  IBMCONDGENCOND.OBJ
  [Linker Error] Unresolved external '_SyncReadRecordByIndex' referenced
 from
  IBMCONDGENCOND.OBJ
  [Linker Error] Unresolved external '_SyncPurgeAllRecs' referenced from
  IBMCONDGENCOND.OBJ
  [Linker Error] Unresolved external '_SyncCloseDB' referenced from
  IBMCONDGENCOND.OBJ
  [Linker Error] Unresolved external '_SyncUnRegisterConduit' referenced
 from
  IBMCONDGENCOND.OBJ
  [Linker Error] Unresolved external '_SyncAddLogEntry' referenced from
  IBMCONDGENCOND.OBJ
 
  Is there a fix for these problems?  If not, is there a simpler conduit
  available that could be used as a beginning?
 
  - Original Message - 
  From: Del Ventruella [EMAIL PROTECTED]
  To: Palm Developer Forum palm-dev-forum@news.palmos.com
  Sent: Monday, November 28, 2005 10:47 AM
  Subject: Re: SyncOpenDB Equivalent?
 
 
   Thank you.  I will certainly take a look.
  
   - Original Message - 
   From: Frank Ableson [EMAIL PROTECTED]
   To: Palm Developer Forum palm-dev-forum@news.palmos.com
   Sent: Monday, November 28, 2005 10:15 AM
   Subject: Re: SyncOpenDB Equivalent?
  
  
   
you will find a sample conduit here  (VC 6.0 project, no MFC).
   
http://www.palm-communications.com/ibmdw/
   
a companion tutorial document on how to build conduits is here:
   
http://www-128.ibm.com/developerworks/edu/wi-dw-wiplm4-i.html
   
   
these are from a few years ago, but will hopefully help.
   
Frank
   
- Original Message - 
From: Del Ventruella [EMAIL PROTECTED]
To: Palm Developer Forum palm-dev-forum@news.palmos.com
Sent: Monday, November 28, 2005 8:49 AM
Subject: Re: SyncOpenDB Equivalent?
   
   
 Does anyone have a very basic conduit structure within a C++ file,
  free
from
 MFC materials, that they might be willing to send as sample code?

 I am stuck at present.  I don't have VC++ or the .NET version with
  which
to
 construct such a file using the CDK wizard, and the conduit wizard
 is
built
 around those IDE tools.

 I'm not asking for fully developed, two-way sync code, just a
basic
  file
 that I can use as the basis for constructing a conduit, without
 having
   to
 try to piece it together from recipe material.

 Thanks.

 - Original Message - 
 From: Jim Cooper [EMAIL PROTECTED]
 Newsgroups: palm-dev-forum
 To: Palm Developer Forum palm-dev-forum@news.palmos.com
 Sent: Sunday, November 27, 2005 5:58 PM
 Subject: Re: SyncOpenDB Equivalent?


   Is there a function built into the CDK header files
 
  Nope. Nothing in the CDK deals with databases on the PC end.
 
  There are a number of libraries available to do that, but you
  normally
 don't
  want to do that. It is almost always much more efficient to deal
  with
data
 in a
  way that was designed to be used on a PC. PDB files were not
  designed
that
 way
 
  Cheers,
  Jim Cooper
 
  __
 
  Jim Cooper[EMAIL PROTECTED]
 Skype : jim.cooper
  Tabdee Ltdhttp://www.tabdee.ltd.uk
 
  TurboSync - Connecting Delphi to your Palm
  __
 
  -- 
  For information on using the PalmSource Developer Forums, or to
 unsubscribe, please see http://www.palmos.com/dev/support/forums/
 

 -- 
 For information on using the PalmSource Developer Forums, or to
unsubscribe, please see http://www.palmos.com/dev/support/forums/

   
   
   
-- 
For information on using the PalmSource Developer Forums, or to
   unsubscribe

Re: SyncOpenDB Equivalent?

2005-11-29 Thread Del Ventruella
I located the options tab that permitted me to specify directories, and did
that.  It eliminated all but one error:


[Linker Fatal Error] Fatal: Expected a file name:

It doesn't tell me what line is generating this error.  I get the same thing
when I try to compile the generic conduit file from the CDK.


- Original Message - 
From: Frank Ableson [EMAIL PROTECTED]
To: Palm Developer Forum palm-dev-forum@news.palmos.com
Sent: Tuesday, November 29, 2005 12:12 PM
Subject: Re: SyncOpenDB Equivalent?


 verify that your compiler has the cdk libraries in the input path

 C:\CDK402A\C++\LIB


 - Original Message - 
 From: Del Ventruella [EMAIL PROTECTED]
 To: Palm Developer Forum palm-dev-forum@news.palmos.com
 Sent: Tuesday, November 29, 2005 9:55 AM
 Subject: Re: SyncOpenDB Equivalent?


  Are the function calls referenced in the error message below part of a
dll
  that may not be included in the 4.03 CDK?
  I tend to believe the problem is either due to that or due to a file not
  being in the location at which the linker is searching.
  Any ideas?
 
  Thanks.
  - Original Message - 
  From: Del Ventruella [EMAIL PROTECTED]
  To: Palm Developer Forum palm-dev-forum@news.palmos.com
  Sent: Monday, November 28, 2005 4:14 PM
  Subject: Re: SyncOpenDB Equivalent?
 
 
   When I attempt to compile the sample conduit I get the following:
  
   [C++ Warning] IBMCondGenCond.cpp(472): W8004 'iResult' is assigned a
 value
   that is never used
   [C++ Warning] IBMCondGenCond.cpp(601): W8066 Unreachable code
   [Linker Error] Unresolved external '_SyncRegisterConduit' referenced
 from
   IBMCONDGENCOND.OBJ
   [Linker Error] Unresolved external '_SyncOpenDB' referenced from
   IBMCONDGENCOND.OBJ
   [Linker Error] Unresolved external '_SyncGetDBRecordCount' referenced
 from
   IBMCONDGENCOND.OBJ
   [Linker Error] Unresolved external '_SyncReadRecordByIndex' referenced
  from
   IBMCONDGENCOND.OBJ
   [Linker Error] Unresolved external '_SyncPurgeAllRecs' referenced from
   IBMCONDGENCOND.OBJ
   [Linker Error] Unresolved external '_SyncCloseDB' referenced from
   IBMCONDGENCOND.OBJ
   [Linker Error] Unresolved external '_SyncUnRegisterConduit' referenced
  from
   IBMCONDGENCOND.OBJ
   [Linker Error] Unresolved external '_SyncAddLogEntry' referenced from
   IBMCONDGENCOND.OBJ
  
   Is there a fix for these problems?  If not, is there a simpler conduit
   available that could be used as a beginning?
  
   - Original Message - 
   From: Del Ventruella [EMAIL PROTECTED]
   To: Palm Developer Forum palm-dev-forum@news.palmos.com
   Sent: Monday, November 28, 2005 10:47 AM
   Subject: Re: SyncOpenDB Equivalent?
  
  
Thank you.  I will certainly take a look.
   
- Original Message - 
From: Frank Ableson [EMAIL PROTECTED]
To: Palm Developer Forum palm-dev-forum@news.palmos.com
Sent: Monday, November 28, 2005 10:15 AM
Subject: Re: SyncOpenDB Equivalent?
   
   

 you will find a sample conduit here  (VC 6.0 project, no MFC).

 http://www.palm-communications.com/ibmdw/

 a companion tutorial document on how to build conduits is here:

 http://www-128.ibm.com/developerworks/edu/wi-dw-wiplm4-i.html


 these are from a few years ago, but will hopefully help.

 Frank

 - Original Message - 
 From: Del Ventruella [EMAIL PROTECTED]
 To: Palm Developer Forum palm-dev-forum@news.palmos.com
 Sent: Monday, November 28, 2005 8:49 AM
 Subject: Re: SyncOpenDB Equivalent?


  Does anyone have a very basic conduit structure within a C++
file,
   free
 from
  MFC materials, that they might be willing to send as sample
code?
 
  I am stuck at present.  I don't have VC++ or the .NET version
with
   which
 to
  construct such a file using the CDK wizard, and the conduit
wizard
  is
 built
  around those IDE tools.
 
  I'm not asking for fully developed, two-way sync code, just a
 basic
   file
  that I can use as the basis for constructing a conduit, without
  having
to
  try to piece it together from recipe material.
 
  Thanks.
 
  - Original Message - 
  From: Jim Cooper [EMAIL PROTECTED]
  Newsgroups: palm-dev-forum
  To: Palm Developer Forum palm-dev-forum@news.palmos.com
  Sent: Sunday, November 27, 2005 5:58 PM
  Subject: Re: SyncOpenDB Equivalent?
 
 
Is there a function built into the CDK header files
  
   Nope. Nothing in the CDK deals with databases on the PC end.
  
   There are a number of libraries available to do that, but you
   normally
  don't
   want to do that. It is almost always much more efficient to
deal
   with
 data
  in a
   way that was designed to be used on a PC. PDB files were not
   designed
 that
  way
  
   Cheers,
   Jim Cooper

Re: SyncOpenDB Equivalent?

2005-11-29 Thread Jim Cooper



[Linker Fatal Error] Fatal: Expected a file name:


Sounds like you haven't specified all the necessary command line arguments


Cheers,
Jim Cooper

__

Jim Cooper[EMAIL PROTECTED]
  Skype : jim.cooper
Tabdee Ltdhttp://www.tabdee.ltd.uk

TurboSync - Connecting Delphi to your Palm
__

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: SyncOpenDB Equivalent?

2005-11-29 Thread Del Ventruella
This is not a command line compiler.
It's Borland's.
- Original Message - 
From: Jim Cooper [EMAIL PROTECTED]
Newsgroups: palm-dev-forum
To: Palm Developer Forum palm-dev-forum@news.palmos.com
Sent: Tuesday, November 29, 2005 3:58 PM
Subject: Re: SyncOpenDB Equivalent?



  [Linker Fatal Error] Fatal: Expected a file name:

 Sounds like you haven't specified all the necessary command line arguments


 Cheers,
 Jim Cooper

 __

 Jim Cooper[EMAIL PROTECTED]
Skype : jim.cooper
 Tabdee Ltdhttp://www.tabdee.ltd.uk

 TurboSync - Connecting Delphi to your Palm
 __

 -- 
 For information on using the PalmSource Developer Forums, or to
unsubscribe, please see http://www.palmos.com/dev/support/forums/


-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: SyncOpenDB Equivalent?

2005-11-28 Thread Jim Cooper



Does anyone have a very basic conduit structure within a C++ file, free from
MFC materials, that they might be willing to send as sample code?


There are Delphi (Pascal) samples on my website, and a whitepaper detailing the 
process.




Cheers,
Jim Cooper

__

Jim Cooper[EMAIL PROTECTED]
  Skype : jim.cooper
Tabdee Ltdhttp://www.tabdee.ltd.uk

TurboSync - Connecting Delphi to your Palm
__

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: SyncOpenDB Equivalent?

2005-11-28 Thread Frank Ableson

you will find a sample conduit here  (VC 6.0 project, no MFC).

http://www.palm-communications.com/ibmdw/

a companion tutorial document on how to build conduits is here:

http://www-128.ibm.com/developerworks/edu/wi-dw-wiplm4-i.html


these are from a few years ago, but will hopefully help.

Frank

- Original Message - 
From: Del Ventruella [EMAIL PROTECTED]
To: Palm Developer Forum palm-dev-forum@news.palmos.com
Sent: Monday, November 28, 2005 8:49 AM
Subject: Re: SyncOpenDB Equivalent?


 Does anyone have a very basic conduit structure within a C++ file, free
from
 MFC materials, that they might be willing to send as sample code?

 I am stuck at present.  I don't have VC++ or the .NET version with which
to
 construct such a file using the CDK wizard, and the conduit wizard is
built
 around those IDE tools.

 I'm not asking for fully developed, two-way sync code, just a basic file
 that I can use as the basis for constructing a conduit, without having to
 try to piece it together from recipe material.

 Thanks.

 - Original Message - 
 From: Jim Cooper [EMAIL PROTECTED]
 Newsgroups: palm-dev-forum
 To: Palm Developer Forum palm-dev-forum@news.palmos.com
 Sent: Sunday, November 27, 2005 5:58 PM
 Subject: Re: SyncOpenDB Equivalent?


   Is there a function built into the CDK header files
 
  Nope. Nothing in the CDK deals with databases on the PC end.
 
  There are a number of libraries available to do that, but you normally
 don't
  want to do that. It is almost always much more efficient to deal with
data
 in a
  way that was designed to be used on a PC. PDB files were not designed
that
 way
 
  Cheers,
  Jim Cooper
 
  __
 
  Jim Cooper[EMAIL PROTECTED]
 Skype : jim.cooper
  Tabdee Ltdhttp://www.tabdee.ltd.uk
 
  TurboSync - Connecting Delphi to your Palm
  __
 
  -- 
  For information on using the PalmSource Developer Forums, or to
 unsubscribe, please see http://www.palmos.com/dev/support/forums/
 

 -- 
 For information on using the PalmSource Developer Forums, or to
unsubscribe, please see http://www.palmos.com/dev/support/forums/




-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: SyncOpenDB Equivalent?

2005-11-28 Thread Del Ventruella
Thanks.  (Unfortunately I know nothing of Pascal.)

- Original Message - 
From: Jim Cooper [EMAIL PROTECTED]
Newsgroups: palm-dev-forum
To: Palm Developer Forum palm-dev-forum@news.palmos.com
Sent: Monday, November 28, 2005 10:03 AM
Subject: Re: SyncOpenDB Equivalent?



  Does anyone have a very basic conduit structure within a C++ file, free
from
  MFC materials, that they might be willing to send as sample code?

 There are Delphi (Pascal) samples on my website, and a whitepaper
detailing the
 process.



 Cheers,
 Jim Cooper

 __

 Jim Cooper[EMAIL PROTECTED]
Skype : jim.cooper
 Tabdee Ltdhttp://www.tabdee.ltd.uk

 TurboSync - Connecting Delphi to your Palm
 __

 -- 
 For information on using the PalmSource Developer Forums, or to
unsubscribe, please see http://www.palmos.com/dev/support/forums/


-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: SyncOpenDB Equivalent?

2005-11-28 Thread Del Ventruella
Thank you.  I will certainly take a look.

- Original Message - 
From: Frank Ableson [EMAIL PROTECTED]
To: Palm Developer Forum palm-dev-forum@news.palmos.com
Sent: Monday, November 28, 2005 10:15 AM
Subject: Re: SyncOpenDB Equivalent?



 you will find a sample conduit here  (VC 6.0 project, no MFC).

 http://www.palm-communications.com/ibmdw/

 a companion tutorial document on how to build conduits is here:

 http://www-128.ibm.com/developerworks/edu/wi-dw-wiplm4-i.html


 these are from a few years ago, but will hopefully help.

 Frank

 - Original Message - 
 From: Del Ventruella [EMAIL PROTECTED]
 To: Palm Developer Forum palm-dev-forum@news.palmos.com
 Sent: Monday, November 28, 2005 8:49 AM
 Subject: Re: SyncOpenDB Equivalent?


  Does anyone have a very basic conduit structure within a C++ file, free
 from
  MFC materials, that they might be willing to send as sample code?
 
  I am stuck at present.  I don't have VC++ or the .NET version with which
 to
  construct such a file using the CDK wizard, and the conduit wizard is
 built
  around those IDE tools.
 
  I'm not asking for fully developed, two-way sync code, just a basic file
  that I can use as the basis for constructing a conduit, without having
to
  try to piece it together from recipe material.
 
  Thanks.
 
  - Original Message - 
  From: Jim Cooper [EMAIL PROTECTED]
  Newsgroups: palm-dev-forum
  To: Palm Developer Forum palm-dev-forum@news.palmos.com
  Sent: Sunday, November 27, 2005 5:58 PM
  Subject: Re: SyncOpenDB Equivalent?
 
 
Is there a function built into the CDK header files
  
   Nope. Nothing in the CDK deals with databases on the PC end.
  
   There are a number of libraries available to do that, but you normally
  don't
   want to do that. It is almost always much more efficient to deal with
 data
  in a
   way that was designed to be used on a PC. PDB files were not designed
 that
  way
  
   Cheers,
   Jim Cooper
  
   __
  
   Jim Cooper[EMAIL PROTECTED]
  Skype : jim.cooper
   Tabdee Ltdhttp://www.tabdee.ltd.uk
  
   TurboSync - Connecting Delphi to your Palm
   __
  
   -- 
   For information on using the PalmSource Developer Forums, or to
  unsubscribe, please see http://www.palmos.com/dev/support/forums/
  
 
  -- 
  For information on using the PalmSource Developer Forums, or to
 unsubscribe, please see http://www.palmos.com/dev/support/forums/
 



 -- 
 For information on using the PalmSource Developer Forums, or to
unsubscribe, please see http://www.palmos.com/dev/support/forums/


-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: SyncOpenDB Equivalent?

2005-11-28 Thread Del Ventruella
When I attempt to compile the sample conduit I get the following:

[C++ Warning] IBMCondGenCond.cpp(472): W8004 'iResult' is assigned a value
that is never used
[C++ Warning] IBMCondGenCond.cpp(601): W8066 Unreachable code
[Linker Error] Unresolved external '_SyncRegisterConduit' referenced from
IBMCONDGENCOND.OBJ
[Linker Error] Unresolved external '_SyncOpenDB' referenced from
IBMCONDGENCOND.OBJ
[Linker Error] Unresolved external '_SyncGetDBRecordCount' referenced from
IBMCONDGENCOND.OBJ
[Linker Error] Unresolved external '_SyncReadRecordByIndex' referenced from
IBMCONDGENCOND.OBJ
[Linker Error] Unresolved external '_SyncPurgeAllRecs' referenced from
IBMCONDGENCOND.OBJ
[Linker Error] Unresolved external '_SyncCloseDB' referenced from
IBMCONDGENCOND.OBJ
[Linker Error] Unresolved external '_SyncUnRegisterConduit' referenced from
IBMCONDGENCOND.OBJ
[Linker Error] Unresolved external '_SyncAddLogEntry' referenced from
IBMCONDGENCOND.OBJ

Is there a fix for these problems?  If not, is there a simpler conduit
available that could be used as a beginning?

- Original Message - 
From: Del Ventruella [EMAIL PROTECTED]
To: Palm Developer Forum palm-dev-forum@news.palmos.com
Sent: Monday, November 28, 2005 10:47 AM
Subject: Re: SyncOpenDB Equivalent?


 Thank you.  I will certainly take a look.

 - Original Message - 
 From: Frank Ableson [EMAIL PROTECTED]
 To: Palm Developer Forum palm-dev-forum@news.palmos.com
 Sent: Monday, November 28, 2005 10:15 AM
 Subject: Re: SyncOpenDB Equivalent?


 
  you will find a sample conduit here  (VC 6.0 project, no MFC).
 
  http://www.palm-communications.com/ibmdw/
 
  a companion tutorial document on how to build conduits is here:
 
  http://www-128.ibm.com/developerworks/edu/wi-dw-wiplm4-i.html
 
 
  these are from a few years ago, but will hopefully help.
 
  Frank
 
  - Original Message - 
  From: Del Ventruella [EMAIL PROTECTED]
  To: Palm Developer Forum palm-dev-forum@news.palmos.com
  Sent: Monday, November 28, 2005 8:49 AM
  Subject: Re: SyncOpenDB Equivalent?
 
 
   Does anyone have a very basic conduit structure within a C++ file,
free
  from
   MFC materials, that they might be willing to send as sample code?
  
   I am stuck at present.  I don't have VC++ or the .NET version with
which
  to
   construct such a file using the CDK wizard, and the conduit wizard is
  built
   around those IDE tools.
  
   I'm not asking for fully developed, two-way sync code, just a basic
file
   that I can use as the basis for constructing a conduit, without having
 to
   try to piece it together from recipe material.
  
   Thanks.
  
   - Original Message - 
   From: Jim Cooper [EMAIL PROTECTED]
   Newsgroups: palm-dev-forum
   To: Palm Developer Forum palm-dev-forum@news.palmos.com
   Sent: Sunday, November 27, 2005 5:58 PM
   Subject: Re: SyncOpenDB Equivalent?
  
  
 Is there a function built into the CDK header files
   
Nope. Nothing in the CDK deals with databases on the PC end.
   
There are a number of libraries available to do that, but you
normally
   don't
want to do that. It is almost always much more efficient to deal
with
  data
   in a
way that was designed to be used on a PC. PDB files were not
designed
  that
   way
   
Cheers,
Jim Cooper
   
__
   
Jim Cooper[EMAIL PROTECTED]
   Skype : jim.cooper
Tabdee Ltdhttp://www.tabdee.ltd.uk
   
TurboSync - Connecting Delphi to your Palm
__
   
-- 
For information on using the PalmSource Developer Forums, or to
   unsubscribe, please see http://www.palmos.com/dev/support/forums/
   
  
   -- 
   For information on using the PalmSource Developer Forums, or to
  unsubscribe, please see http://www.palmos.com/dev/support/forums/
  
 
 
 
  -- 
  For information on using the PalmSource Developer Forums, or to
 unsubscribe, please see http://www.palmos.com/dev/support/forums/
 

 -- 
 For information on using the PalmSource Developer Forums, or to
unsubscribe, please see http://www.palmos.com/dev/support/forums/


-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: SyncOpenDB Equivalent?

2005-11-27 Thread Jim Cooper

Is there a function built into the CDK header files


Nope. Nothing in the CDK deals with databases on the PC end.

There are a number of libraries available to do that, but you normally don't 
want to do that. It is almost always much more efficient to deal with data in a 
way that was designed to be used on a PC. PDB files were not designed that way


Cheers,
Jim Cooper

__

Jim Cooper[EMAIL PROTECTED]
  Skype : jim.cooper
Tabdee Ltdhttp://www.tabdee.ltd.uk

TurboSync - Connecting Delphi to your Palm
__

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: SyncOpenDB Equivalent?

2005-11-25 Thread Ben Combee

At 09:48 AM 11/25/2005, you wrote:
Is there a function built into the CDK header files that permits one to 
open a database that has been downloaded using the generic download 
provided automatically by the sync software?  This would be something 
equivalent to the SyncOpenDB, but that would access a file stored on a 
desktop.  Is there a similar equivalent for header file access?


Look at libpdb.dll that's part of the program 'par' and available under the 
Mozilla Public License.

http://www.djw.org/product/palm/par/

-- Ben Combee, Senior Software Engineer, Palm, Inc.
   Combee on Palm OS weblog: http://palmos.combee.net/
   Developer Forum Archives:   http://news.palmos.com/read/all_forums/


--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/