try to make
const UInt8 gColumnAttributes[ MaxColumns ] = {...};
extern const UInt8 gColumnAttributes[];

if it will behave the same then maybe there is some more special condition
needed to make this problem happened. i know it happened to me and this
workaround which i found somewhere on net helped me

Luc Le Blanc wrote:
> Michal Seliga wrote:
> 
>> in both cases you must be careful to define const data in same
>> segment as code which is using them, otherwise application will
>> crash. workaround for this is to have two variables, 1 with
>> const data and other one which is pointing to it and assign it
>> value once at beginning.
> 
> Are you sure of this? I currently create a const array
> 
> UInt8 gColumnAttributes[ MaxColumns ] = {...};
> 
> in my first segment and use it in another with
> 
> extern UInt8 gColumnAttributes[];
> 
> under CW 9.3, without a crash.
> 
> 
> --
> Luc Le Blanc
> 

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to