I've done a database on PalmOS, writing the PC conduit now. I must provide a COM interface to the DB (another program request). I have 2 ways to do that:
1. C conduit that downloads all the data, calls the com server, go into sleep and after the com server finish it's work put the data back. But that's not possible because the databases are very large and in most of the case I'll need only a bit of them so the com server must command the sync process. If I do a sync C code in the com server all sync functions returns COMM_NOT_OPEN or something like this.
2. TCP/IP based communication - the com server makes a request to the conduit, the conduit returns the result. Slow as hell especially on large amount of requests for small blocks of data. Unstable.
3. COM Server acting as a conduit too...
:(
Mike Margerum wrote:
Flex wrote:
Hi ppl,
I'm getting crazy about this - I can't read a record that has more than 5000 bytes in - the result Variant *always* gets truncated to 5000. In the conduit forum I explained why I can't do it with the standart C/C++ functions and need a COM, but does anybody have seen this or I'm in a BIG mistake? I need to release this project ASAP and it's basicly done except that dummy thing. Tried reading in google, newsgroups, etc - no word on that problem... am I the only one getting it?
Using BCB6
you know you can build non com conduits in BCB6 right? Why dont you just build a straight conduit DLL that calls the com servers?
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
