Subj : Re: Creating new data section To : borland.public.cpp.borlandcpp From : Reddy Date : Tue Feb 15 2005 09:02 pm my intension is to acess the values of the varibales in that pragma section while the programming is running. i want to do this to implement a snapshot and recall feature for that data.i,e storing and restoring the variable value while the process is running. "Bob Gonder" wrote in message news:htv3115g99harhimbqn347bk4h6q9928pj@4ax.com... > 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? > > .