hello thank you for your responses. Here goes my another question : As far as i understand, class' data goes to default section - where whole program is being kept (all data from instances of that classes - from objects ? right ?)
so is that possible to construct a class which uses data larger then segment size ? i've thought about dynamic allocation , where class datas are only pointers to structer which i allocate in methods of that class. But if methods are in different segment's than those pointers it doesnt work ? right ? is there any solution ? thank you marcin grzybowski Uzytkownik "Garth Wimbush" <[EMAIL PROTECTED]> napisal w wiadomosci news:[EMAIL PROTECTED] > Yep, Ben is correct. You need to label each of the methods in a class. > On Monday 14 January 2008 09:53:03 Ben Combee wrote: >> > I have 1 more question - can i put whole class in chosen section or >> > only >> > it's methods ? >> >> Only class methods will be in code sections -- class data is part of >> the whole program's data, and that will be in the data segment. I >> don't know how GCC handles the section attributes on a class -- I >> think you may need to label each of the methods. > > > -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
