Using TMapFiles in compiled code

From: Peter Steinberg (steinber@nevis1.nevis.columbia.edu)
Date: Fri Jul 10 1998 - 18:54:31 MEST


I'm having some more trouble with TMapFiles.

Instead of using the tutorial macros, I want to use TMapFiles
to share memory between two compiled processes.

In the "producer" code I include "TMapFile.h" and define a pointer to
what will be the opened TMapFile.  

TMapFile* mfile;

However, the compiler (VC++5.0) complains even before it finished dealing
with TMapFile.h:

d:\Root_star\include\TMapFile.h(150): error C2039: 'GetObject' :
	is not a member of 'TObjLink'

What am I doing wrong here?  When I look in TList.h I see that
GetObject _is_ a member of TObjLink.  Do I need to include more
files?

- Peter

---------------------------------------------------------------------------
Peter Steinberg, Columbia University	E-mail:     peter.steinberg@cern.ch
Nevis Laboratories			URL: http://wwwcn.cern.ch/~steinber
P.O. Box 137	  		        Home Phone:           (212)678-5971
Irvington, NY 10533			Nevis:    (914) 591-2776 (fax 8120)
---------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:35 MET