HDTenEightyP/NetNews huggingface dataset:
From: mhall@occs.cs.oberlin.edu (Matthew Hall)
Subject: Discipline and dcmd help wanted
Organization: Oberlin College Computer Science
Distribution: comp.sys.mac.programmer
Date: Tue, 13 Oct 1992 21:29:31 GMT
X-Posted-From: occs.cs.oberlin.edu
NNTP-Posting-Host: sol.ctr.columbia.edu

Hello-
	First Question: How do I compile and build dcmds with Think
Pascal? I can successfully use all of the libraries, and build the
dcmd, but when I try to create the code resource I get a linker error
"_DATAINIT" not defined.  Is there a way or an application by which I
can use BuildDcmd without buying MPW? Anny help appreciated.

	Also, I can not get Discipline to load on my mac LC.  Macsbug
loads fine, however Discipline puts up a box saying "Debugger not
Installed" and waits for 10 seconds.  I have the latest version of
each (ftp'd from apple yesterday).  Will Discipline simply not work on
an LC?  It's running under 6.0.7 with 4 meg RAM.  Any help here too
will be appreciated.

Thank you
-matt hall
























--
-------------------------------------------------------------------------------
Matt Hall.    mhall@occs.oberlin.edu  OR  SMH9666@OBERLIN.BITNET
              (216)-775-6613 (That's a Cleveland Area code. Lucky Me)

"Life's good, but not fair at all"  -Lou Reed
Newsgroups: comp.sys.mac.programmer
Subject: Re: Problem with Apple Events
From: mafk_s@chv.lincoln.cri.nz
Date: 8 Oct 92 12:32:52 +1200
Organization: Crown Research Inst., New Zealand

In article <1992Oct5.114513.19330@chv.lincoln.cri.nz>, 

mafk_s@chv.lincoln.cri.nz writes:
> I have been experimenting with Apple Events (actually from the Macintosh C
> Programming Primer Vol 1,  2nd edition) and have run into problems.  The
> intructions for sending an Apple Event say you have to call AECreateDesc(),
> AECreateAppleEvent() and AESend().  The first two calls return 0 (i.e. good) 
> error codes, but AESend() returns an error code of -609, invalidConnection. 
> Does anyone know what this error code means and how to correct it?  
> IM6 is not at all clear on this point.  Thanks.


The solution to this problem was that both the sending and receiving
applications must have the HighLevelEvent-Aware flag set to on.  Thanks to
those people who correctly identified the problem

Kevin
Ministry of Ag & Fish
New Zealand
From: Robert@cs.umass.edu (Robert C. Cook)
Newsgroups: comp.sys.mac.programmer
Subject: Graphic User Interface Builders
Date: 8 Oct 92 20:08:49 GMT
Reply-To: Robert@cs.umass.edu
Organization: Computer and Information Science, University of Massachusetts, Amherst, MA


Can anyone suggest a good Graphical user interface builder that works over
multiple platforms, i.e. Unix (DEC, SUN, MAC/AUX), MacOS, and Windows?  What about
just Windows and MacOS?


Bob Cook



Newsgroups: comp.sys.mac.programmer
From: zobkiw@world.std.com (Joe Zobkiw)
Subject: Re: Source to convert sound files from IBM to Mac
Organization: The World Public Access UNIX, Brookline, MA
Date: Mon, 12 Oct 1992 13:03:20 GMT

Assuming you now the format of the file you are converting FROM and the
file you are converting TO, the conversion is simply typing...that is...
it should be straightforward if you are proficient with dealing with
file formats, etc.

			
-- 
-------------------------------------------------------------
joe zobkiw         zobkiw@world.std.com        aol: aflzobkiw

macintosh.midi.synthesis.c.oop.asm.communications.graphics...
From: chuck@gte.com (Chuck Hoffman)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Scroll Bars
Date: 15 Oct 92 16:50:52 GMT
Followup-To: comp.sys.mac.programmer
Organization: GTE Laboratories

In article <9228319.9184@mulga.cs.mu.OZ.AU>, jyct@mundil.cs.mu.OZ.AU (John
Yew Choong THAM) wrote:

> 	I'm trying again due to a lack of response to my previous post.
> 	Could someone kindly provide me with some information as to how
> 	to handle scrolling and scroll bars in general for a window 
> 	which will display data gathered from a serial port.

Hi, John.  I thought I answered this, but maybe I didn't or maybe it
bounced back to me off the Internet.

You need to write two procedures:  (1) an "action" procedure which is
explained in I.M. in the chapter about the Control Manager, (2) a "click
loop" procedure, which is explained in the chapter about TextEdit.

I do have this code in a sample application called "Chassis." 
Unfortunately, the current version is 4.3.1 and I haven't posted it yet
because some bug fixes which are still being beta tested.  If you are
willing to do a beta test for me, I'll send you a private copy.  It's in
THINK C 5.0.3, and does not use the class libraries.  Also, it assumes that
all lines are the same height (it does not use styled text).  Let me know
if you want it.

Although these are relatively short pieces of code (action proc 2 pages,
click loop 1/2 page), they are definitely not trivial to write or
especially to debug.  There are so many situations to consider, including
the resizing of the window and deleting lines off the top and the bottom of
the data.  If you are using some sort of application builder software tool,
I would expect the tool to have these routines already written.

If you want to write the procedures yourself, these hints may be helpful:

a.  Read I.M. chapters on Control Manager and TextEdit.

b.  The action procedure contains calls to TextEdit's TEScroll routine to
move the text, and also to the Control Manager's SetCtlMin/Value/Max
routines to move the scroll bar graphics.  You invoke the action procedure
after a call to TrackControl for a mouseDown in the thumb control part, and
you let the Control Manager invoke the action procedure automatically after
a mouseDown in one of the other control parts (upArrow, pageUp, etc.).

c.  The click loop procedure gets invoked repeatedly by TextEdit when
someone clicks the mouse down within a TextEdit view rectangle, then, while
holding the mouse down, drags the cursor out of the rectangle.  The click
loop procedure simulates a mouse down in the up or down arrow, and calls
the action procedure described above.

Chuck Hoffman
chuck@gte.com
GTE Laboratories, Waltham, Massachusetts, USA
(617) 466-2131
=====================================
I'm not sure why we're here, but I am sure that while we're here we're
supposed to help each other.
=====================================
Newsgroups: comp.sys.mac.programmer
From: d88-jwa@dront.nada.kth.se (Jon Wtte)
Subject: Re: Option key madness
Originator: d88-jwa@dront.nada.kth.se
Organization: Royal Institute of Technology, Stockholm, Sweden
Date: Mon, 12 Oct 1992 16:38:53 GMT

> wfp@jupiter.claremont.edu (Frank Price) writes:

   noticed that various keys will not even send an event when initially typed  
   such as Option-E and Option-U, and Option-'.  How do I override this system
   so that Option can be used normally for those special characters?

They area called dead keys, and option-e, option-u etc are NOT dead
keys on other keyboards (like swedish ones)

Try using your own KCHR (the key mapping resource) but make it
an option since peoplr outside the US have different keyboard
needs.


-- 
 -- Jon W{tte, h+@nada.kth.se, Mac Hacker Suedoise (not french speaking) --

  "From now on I will re-label the EQ on the deck as Fizz and Wobble
   instead of HF and LF."
From: mkelly@mystix.cs.uoregon.edu (Michael A. Kelly)
Newsgroups: comp.sys.mac.programmer
Subject: C.S.M.P. Digest V1 #183 Available
Date: 15 Oct 92 11:30:41 GMT
Article-I.D.: cs.1992Oct15.113041.24104
Followup-To: poster
Organization: University of Oregon Computer and Information Sciences Dept.


C.S.M.P. Digest             Thu, 15 Oct 92       Volume 1 : Issue 183

Today's Topics:

	Repeated GetCIcon/PlotCIcon calls
	Powerbook Battery Question
	Quick TCL gDesktop question
	Smooth Animation
	Using PostHighLevelEvents to send low level (KeyPressed) events
	Radio buttons
	menubar in dialogs



The Comp.Sys.Mac.Programmer Digest is moderated by Michael A. Kelly.

The digest is a collection of article threads from the internet newsgroup
comp.sys.mac.programmer.  It is designed for people who read c.s.m.p. semi-
regularly and want an archive of the discussions.  If you don't know what a
newsgroup is, you probably don't have access to it.  Ask your systems
administrator(s) for details.  (This means you can't post questions to the
digest.)

Each issue of the digest contains one or more sets of articles (called
threads), with each set corresponding to a 'discussion' of a particular
subject.  The articles are not edited; all articles included in this digest
are in their original posted form (as received by our news server at
cs.uoregon.edu).  Article threads are not added to the digest until the last
article added to the thread is at least one month old (this is to ensure that
the thread is dead before adding it to the digest).  Article threads that
consist of only one message are generally not included in the digest.

The entire digest is available for anonymous ftp from ftp.cs.uoregon.edu
[128.223.8.8] in the directory /pub/mac/csmp-digest.  Be sure to read the
file /pub/mac/csmp-digest/README before downloading any files.  The most
recent issues are available from sumex-aim.stanford.edu [36.44.0.6] in the
directory /info-mac/digest/csmp.  If you don't have ftp capability, the sumex
archive has a mail server; send a message with the text '$MACarch help' (no
quotes) to LISTSERV@ricevm1.rice.edu for more information.

The digest is also available via email.  Just send a note saying that you
want to be on the digest mailing list to mkelly@cs.uoregon.edu, and you will
automatically receive each new issue as it is created.  Sorry, back issues
are not available through the mailing list.

Send administrative mail to mkelly@cs.uoregon.edu.


-- 
_____________________________________________________________________________
Michael A. Kelly                                         University of Oregon
mkelly@cs.uoregon.edu                             Computer Science Department
_____________________________________________________________________________
Newsgroups: comp.sys.mac.programmer
From: Bruce.Hoult@bbs.actrix.gen.nz
Subject: Re: Diffs in -sym MacApp code
Organization: Actrix Information Exchange
Date: Fri, 16 Oct 1992 04:09:36 GMT

In article <4347@bimacs.BITNET> liran@bimacs.BITNET (Eshel Liran) writes:
> Are there any differences between applications created by 'mabuild kkk -sym'
> and 'mabuild kkk', except for the SYM file ?

No.

-- 
Bruce.Hoult@bbs.actrix.gen.nz   Twisted pair: +64 4 477 2116
BIX: brucehoult                 Last Resort:  PO Box 4145 Wellington, NZ
"Cray's producing a 500 MIPS personal computer with 256MB RAM and 8 GB
hard disk that fits in your pocket!"   "Great!  Is it PC compatible?"
From: veloso@husc9.harvard.edu (Manuel Veloso)
Newsgroups: comp.sys.mac.programmer
Subject: Heap zone for growzone?
Date: 16 Oct 92 16:11:32 GMT
Article-I.D.: husc3.1992Oct16.121132.16442
Distribution: world
Organization: Harvard University
X-UserAgent: Nuntius v1.1.1d11
X-XXMessage-ID: <A7046244E5011817@humcr3.harvard.edu>
X-XXDate: Fri, 16 Oct 92 17:12:52 GMT

Hi there,

After writing a gz proc, I stumbled upon the idea of using an embedded
heap zone instead of the free-memory store (rainy-day fund?) to keep some
extra memory around. Does anyone know of any drawbacks to this method?

Manuel
Newsgroups: comp.sys.mac.programmer
From: asunta@convex.csc.FI (Miika Asunta)
Subject: Re: Flight Simulator Plane format?
Organization: Finnish Academic and Research Network Project - FUNET
Date: Thu, 8 Oct 92 20:16:59 GMT

In <jb0wHq=y&9@atlantis.psu.edu> D. Jay Newman <dn5@apix.psu.edu> writes:

>Hi:

>Can anybody help me with the file format for a plane
>definition file for Microsoft Flight Simulator?

>I am working on a package to teach basic airplane design, and
>our faculty member had the idea that if a student could see his
>design perform in the air using Microsoft Flight Simulator, he
>would get a better idea of how well he did.


The file has only datafork, 194 bytes.

I think it is defined

struct {
	char reserved;
	char reserved;
	char IsDesignableAircraft;
	char reserved;
	char reserved;
	...
	...
	...
	} MFS4Plane;

Just create a simple application that reads the file into a 194-byte
struct, and lets you make modifications.

Then test every byte...

I think the struct contains just the information that is saved for a
designable aircraft. You can't draw your favorite plane. Sorry.

Miika


--
Miika Asunta
asunta@convex.csc.fi			Double Bass Player
tel. +358-0-494 093			Macintosh Programmer
Newsgroups: comp.sys.mac.programmer
From: lsr@taligent.com (Larry Rosenstein)
Subject: Re: C++ (was Amateur Programming?)
Followup-To: comp.sys.mac.programmer
Organization: Taligent, Inc.
Date: Wed, 14 Oct 1992 17:51:35 GMT

In article <01050166.g2b4jm@joebloe.maple-shade.nj.us>,
joseph@joebloe.maple-shade.nj.us (Joseph Nathan Hall) wrote:
> 
> Personally, I'd prefer a kinder, gentler language--full-featured,
> yes, and close to the metal (so long as speed is an issue), but
> one that doesn't require that you learn by shooting yourself in the
> foot repeatedly.

Most of the "problems" of C++ come from the desire to keep it "close to the
metal".  In particular, if all objects were allocated on the heap, the
language would be simpler.  But allocating objects on the stack is very
useful in places.


Larry Rosenstein
Taligent, Inc.

lsr@taligent.com
Newsgroups: comp.sys.mac.programmer
From: absurd@applelink.apple.com (Tim Dierks, software saboteur)
Subject: Re: Best way to get A5 into VBLTaskProc?
Date: Wed, 14 Oct 1992 21:21:38 GMT
Organization: MacDTS Marauders
Followup-To: comp.sys.mac.programmer

In article <1CE00001.g3sal8@tbomb.ice.com>, time@ice.com (Tim Endres)
wrote:
> 
> 
> In article <16947@pitt.UUCP> (comp.sys.mac.programmer), sherman@michael.nmr.upmc.edu (Sherman Uitzetter) writes:
> > blank.  Ok, I declare a global in my application,
> > gVBLCount, but I need a way for the VBLTaskProc to get
> > at this global to increment it.  "Oh this is easy", I
> 
> One way is to extend your VBLTask structure:
> 
> typedef struct {
> 	VBLTask		gTask;
> 	long		A5;
> 	} MyVBLTask;
> 
> And then you can set this field in your app, and send a pointer to
> the extended struct into the VBL manager to install. Now, you get
> the extended structure in your VBL task. If you are paranoid about
> Apple later extending the VBLTask structure themselves, you might
> try:
> 
> typedef struct {
> 	VBLTask		gTask;
> 	char		paranoia[32];
> 	long		A5;
> 	} MyVBLTask;
> 
> or similar approaches to pad out your value...
> 
> tim.

Wow!  You _are_ paranoid!  Allow me to say that there is no way Apple
can make the VBLTask structure larger in this way; if we were to do
so, we would break every single application that uses a VBLTask; they
all allocate a standard amount of room, whether it is in a heap block,
global data space, or on the stack; if Apple we suddenly to start writing
to space after the end of this agreed-upon size, data would be trashed
in virtually every application that uses a VBLTask variable.  Since
we're unlikely to invalidate our entire application base just to avoid
having to use something like an ExtendedVBLTask structure, I would say
your extra 32 bytes of storage are entirely unneeded.  Other than that,
the concept of storing values after a VBLTask so they can be used by
the VBL is just great, and is an Officially Sanctioned Apple Solution (TM).
In fact, if you didn't want to screw around with A5 and all that other
garbage, you could just set up your structure like this:

typedef struct {
    VBLTask     gTask;
    long        gVBLCount;
} MyVBLTask;

and mess with the variable directly; this way, you don't use globals,
so you don't have to sweat the whole A5 thing.

Tim Dierks
MacDTS, but why not?
Newsgroups: comp.sys.mac.programmer
From: wolfmc@rtsg.mot.com (Michael Wolf)
Subject: Help with:  ResEdit & colored styled text resources
Organization: Motorola Inc., Cellular Infrastructure Group
Date: Fri, 16 Oct 1992 14:12:53 GMT

I was poking around some applications which have colored help text and I see
in the resources that they have the text in the TEXT resource with the style
scrap for the text in the styl resource.  How do they create the colored
text styles?  I cannot see in ResEdit in the TEXT editor template how to
set the color of the current text.  Is there another utility somewhere for
this?

Thanks.


MJW

-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-
| Michael J. Wolf          | McIntosh Jr:  The power to crush the other kids|
| Software Engineer        |                                                |
| wolfmc@green.rtsg.mot.com|      Disclaimer?  Hell, I don't even know her! |
-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-

Newsgroups: comp.sys.mac.programmer
From: kevin@crash.cts.com (Kevin Hill)
Newsgroups: comp.sys.mac.programmer
Subject: MacsBug.  How to use to discover causes of crashes
Date: 7 Oct 92 23:41:50 GMT


  I recently dropped macbug into my macs system folder. 
  However, all it has been used for as of yet, is to rs the machine.
Could someone give me some hints on where to look for info on how to 
use it so that I can actually find out why I crashed?
  Also, I do have 4 of the 6 IM books, so feel free to reference anything in them.  I'l scream if you reference the 2 that I don't have! :)
  thanks.
 -Kevin
From: udmorrow@mcs.drexel.edu (Daniel Morrow)
Newsgroups: comp.sys.mac.programmer
Subject: out of memory with InvalRect
Date: 8 Oct 92 15:54:32 GMT
Distribution: usa
Organization: Drexel University

I'm in a routine that calls InvalRect and I get an error 25.

When I check the memory with FreeMem I get over 58K worth of it.
I even call CompactMem right before InvalRect (no change in size)
and the program still bombs.

I make the call to InvalRect right after I dispose of a dialog
and call NumToString, although I don't know why this should matter.

Any hints?

-Dan.
udmorrow@mcs.drexel.edu
From: robert_hess@macweek.ziff.com (Robert Hess)
Newsgroups: comp.sys.mac.programmer
Subject: AppleShare Development [Q]
Date: 15 Oct 92 19:37:32 GMT
Organization: MacWEEK
X-UserAgent: Nuntius v1.1.1d12X-XXDate: Thu, 15 Oct 92 12:40:53 GMTLines: 38

Im sure Ill feel exceptionally stupid when the answers to this come
rolling
in but here goes...

I am doing some development with AppleShare/FileShare. Using the examples 
supplied with the Dev Disk I have written some code which always returns 
an error. Heres the code (not really the code I use but close enough, 
and it has the same error):

OSErr GetOneUserNameRec (void) {
SCParamBlockRec	scPB;
OSErr			myErr;
Str31			userName;


	scPB.userInfoPB.scCode = SCGetUserNameRec;
	scPB.userInfoPB.scNamePtr = (StringPtr) &userName;
	scPB.userInfoPB.scPosition = 0;

	myErr = SyncServerDispatch(&scPB);
}

This always returns a -50 (bad parameter). I stole that code from the
examples...

Any suggestions? Thanks!

====================================================
Robert Hess                AppleLink: MacWEEK (*)  |
Systems Administrator      AOL: RHessJr            |
MacWEEK                    CIS: 72511,333          |
301 Howard                 GEnie: MACWEEK (*)      |
San Francisco, CA 94105    MCI: RHESS              |
(408) 243-3576 (voice)     CONNECT: MACWEEK (*)    |
(408) 243-3651 (fax)                               |
Internet: robert_hess@macweek.ziff.com             |
(*) - Please put "ATTN: Robert Hess" as first line |
====================================================
Newsgroups: comp.sys.mac.programmer
From: keith@taligent.com (Keith Rollin)
Subject: Re: Menu Mgr Qustion
Followup-To: comp.sys.mac.programmer
Organization: Taligent
Date: Mon, 12 Oct 1992 13:04:33 GMT

In article <92286.020737TOGE@SLACVM.SLAC.STANFORD.EDU>,
TOGE@SLACVM.SLAC.STANFORD.EDU (Nobukazu Toge) wrote:
> 
> So, my question is - At an arbitrary moment during a MenuSelect / PopupMenu
> Select call, is there a way to tell if any menu is being displayed at all?

How dirty do you want to get? The low-memory location MBSaveLoc (0x0B5C)
holds a handle that the standard MBDF uses to hold private information. It
starts off with a header, and is followed by 5 identical entries. Each of
these entries holds information about the 5 menus that can be displayed at
any one time (it's because of this fixed array size that hierarchicals are
limited to being nested 5 levels deep). The first field in the header
(lastMBSave) holds the offset to entry that corresponds to the menu
currently being tracked. I suppose that if no menus are shown, then that
first field will be zero.

The following data from MPW's Private.a file should help. However, keep in
mind the fact that since this information is from Private.a that you'll
burn in h*ll if Apple ever catches you shipping an application based on
this it.


; equates for mbarproc's save structure created when it receives Init Msg
(Msg #3)
;
;----- Header
lastMBSave		EQU 		0         				; offset to last menu saved in structure
[word]
mbCustomStorage   EQU 		lastMBSave + 2    		; private storage for custom
mbarproc's [handle]
mbItemRect		EQU 		mbCustomStorage + 4   	; rect of currently chosen menu
item [rect]
mbMenuDelay   	EQU 		mbItemRect + 8    		; get MenuDelay from paramram and
store here [byte]
mbMenuDrag		EQU 		mbMenuDelay + 1   		; get MenuDrag from paramram and
store here [byte]
mbUglyScroll  	EQU 		mbMenuDrag + 1    		; flag to tell whether HMenu has
been brought [word]
; before scrolling happens
mbIconState   	EQU 		mbUglyScroll + 2  		; Place to save NMgr icon state
mbHeader  		EQU 		mbIconState + 2   		; size of mb save header [$14]
; !!!!! CAUTION: mbHeader MUST be smaller than mbEntrySize !!!!!

;----- Entry
mbRectSave		EQU 		0         				; rectangle of menu on screen [8 bytes]
mbBitsSave		EQU 		mbRectSave + 8    		; handle to saved bits behind menu
rectangle
mbMenuDir 		EQU 		mbBitsSave + 4    		; direction menu was placed on
screen,
; to right or left of title (if first menu) 
; or previous menu (if hierarchical menu)
mbMLOffset		EQU 		mbMenuDir + 2     		; 6 byte offset of menu in menuList
[word]
mbMLHandle		EQU 		mbMLOffset + 2    		; handle of menu in menuList
mbTopScroll   	EQU 		mbMLHandle + 4    		; top scrolled to menu item, from
global topMenuItem [word]
mbBotScroll   	EQU 		mbTopScroll + 2   		; bottom scrolled to menu item,
from global atMenuBottom [word]
mbReserved		EQU 		mbBotScroll + 2   		; reserved field [long]
mbEntrySize   	EQU 		mbReserved + 4
mbSaveSize		EQU 		mbEntrySize*6     		; x-byte header and 5 entries of
x-bytes each


-----
Keith Rollin
Phantom Programmer
Taligent, Inc.
From: udmorrow@mcs.drexel.edu (Daniel Morrow)
Newsgroups: comp.sys.mac.programmer
Subject: Re: out of memory with InvalRect
Date: 8 Oct 92 22:05:27 GMT
Distribution: usa
Organization: Drexel University

In article <39345@unix.SRI.COM> mxmora@unix.SRI.COM (Matt Mora) writes:
>In article <1992Oct8.155432.12803@mcs.drexel.edu> udmorrow@mcs.drexel.edu (Daniel Morrow) writes:
>
>>I make the call to InvalRect right after I dispose of a dialog
>>and call NumToString, although I don't know why this should matter.
>
>
>You probably forgot to set the port to a valid port after you closed the
>dialog. Most of the provlems with simple quickdraw calls like this are caused
>by not setting the port. ( Think Pascal users usally see this after they build
>the application as stand alone.)
>
Yes, I forgot to do something as simple as simple as setting the port back
to the main window.

Sorry to waste bandwidth on this question.

-Dan.
Newsgroups: comp.sys.mac.programmer
From: Adrian.Ross@comp.vuw.ac.nz (Adrian Charles Ross)
Subject: Using ProcPtrs
Organization: Dept. of Comp. Sci., Victoria Uni. of Wellington, New Zealand.
Date: Fri, 16 Oct 1992 05:22:56 GMT

When using the address of a procedure to specify that procedure for later use,
eg. setting a control's action proc or a sound channel's completion routine,
it seems to me (I'm relatively new to this) that when the time comes later
for the procedure to be executed, its segment may have moved in memory
and its pointer would thus no longer be valid.
If this is the case, why are facilities for control action procedures etc 
provided? How do you get round this problem?
Ta,