I'm not exactly away to the races, but the COM dll just enabled me to access
the name field of one of my records. If I can access integers and strings
as easily, I may be able to complete the conduit.
Well, all Palm records are just blobs of bytes, so you always have to do the
work splitting that blob into sensible things yourself. One of the reasons I
wrote some Delphi components was to encapsulate all that logic.
I have never perceived myself or asserted to be a programmer who normally works
with
dll's at the level that some who address this forum are capable.
There is nothing special about writing DLLs. The just have to have some
pre-agreed "entry point" functions, so that external code knows what it can
call. Otherwise you can do pretty much everything you would do in a normal
application.
Using COM is IMO the harder route to follow than calling the C APIs directly,
but that's just me.
Bob (Combee) indicated that one of the necessary dll's from
PalmOS isn't
This is a red herring. You can call into any of the conduit DLLs. I do it from a
completely different language, so calling it from C is no problem. Other people
on this group have used Borland C++ Builder, for example. This MFC stuff is
irrelevant. Your sample code may use MFC for other things, but it is not
necessary to access any of the conduit APIs.
A Borland programming group had suggested that
I recompile the dll from source code
Definitely, definitely, definitely not necessary. You're getting side-tracked on
a non-issue.
Of course, if my thinking is correct, I now have
to take a byte array and, using the structure from my Palm application in
CodeWarrior, convert each field in the record into a string or an int based
upon the number of bytes it represents.
Yes, you do.
This may well explain the reference
to a "COM quagmire" in a prior response.
No it doesn't :-) I made that comment in regard to how poor a technology COM is
in general. All conduits need to deal with the fact that records are blobs.
Cheers,
Jim Cooper
__________________________________________
Jim Cooper [EMAIL PROTECTED]
Skype : jim.cooper
Tabdee Ltd http://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/