Subj : Re: Creating new data section To : borland.public.cpp.borlandcpp From : Bob Gonder Date : Tue Feb 15 2005 06:04 am Reddy wrote: >i am trying to create to new datasection and put some varibles under the >datasection. >i know in VC++ we can do this with a pragma >#pragma data_seg(".my_data1"). > >can some body tell me how i can i do the same in Borland C++ 5.02 Does this page help? http://awc.al-williams.com/share.htm (It seems to say that Borland works fine without that directive) If not, then what are you trying to write for? DOS? Win16? Win32? EXE? DLL? Or, why are you trying to put the data in a new segment? IOW, what's wrong with using the default segment? .