I need to be able to update a file which has a number of Graphic Fields
defined. The structure is showing as

_Packed struct { short int len;

wchar_t data[2048]


This gives me a total length of 4098 bytes. I want to be able to write the
data to the file but keep getting a data mapping error? When I set up the
buffer to be written I am setting the data element to ' ' and the len
element to 0 for each of the fields which have this type? Should I be
setting the length to 2048 or something? When I look at the file I can see
it has <*DFT/> written in the file and the file header does not show a
default value?

Any advice welcome.


Chris Hird


Shield Advanced Solutions Ltd


1(519) 940-1192


This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].