<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I've searched everywhere I can think of to find an
answer to this question, but to no avail. I'd really appreciate it if
someone on this list could give me a hand.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm interested in storing a reference to a
Smalltalk object in a 32 bit word array. A seemingly convenient way to do
this would be to store the object pointer for the object into the array, then
later retrieve the object given its object pointer by accessing Squeak's object
memory.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Objects provide an asOop method, which solves half
the problem. Although there is an ObjectMemory class that seems to provide
the services I'd need to retrieve an object, I can't find a way to access the
instance of ObjectMemory that Squeak actually uses. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Does anyone know if it is possible to access
Squeak's object memory directly?<BR><BR>Many
thanks,<BR>Jack</FONT></DIV></BODY></HTML>