Hi Dirk,

in the huge bunch of code you are posting I can't figure out on the
first glance where you string handling problem resides. But according
to the corresponding mail you wrote here some - hopefully useful - advice:
String handling in structs may have a some alignment struggle on dif-
ferent hardware devices. If your problem occure in "incorrect" string
termination on struct elements (according to K&R rules), try to set up
all the elements in the struct on word/byte order. For instance check
out that struct elements of string are declared in a byte sizes (i.e. de-
clare them in powers of eight) 
...
typedef struct {char motorSt[16], kentekenSt[8], rijderSt[16], datumSt[8]; \
UInt runSt;}recordstruct; 
...
This way alignement may not strike your code by mangleing data - 
what means: Your cross compiling project from intel -> motorola is not
affected by filling/fixing/scrabbling up to word sizes.

Good luck,
Stefan
--
[EMAIL PROTECTED]          http://www.rhein-hacking.DE
Eisenachstrasse 29                    voice +49-221-9123250
50733 Cologne, Germany                fax +49-221-9123251

Reply via email to