× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi



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.

Chris Hird

Director

Shield Advanced Solutions Ltd

http://www.shieldadvanced.ca

1(519) 940-1192

____________________________________________________________________________
_______


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2024 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.