[futurebasic] Re: [FB] incoming files

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 1998 : Group Archive : Group : All Groups

From: "Deepesh Letap" <DLetap@...>
Date: Sat, 14 Nov 1998 20:38:44 +0000
>
>Deep:
>
>That's a negative. I have an Apple Events filter, I used in a project I
>recently wrote in PGPro that is in the 14th SEGMENT and it works just fine.
>
>tedd

Tedd

I should clarify. As Rick rightly pointed out, I was referring to the
ENTERPROC/EXITPROC statements which are preceded with the labels "OpenDoc"
etc. These labels must appear in the first segment so that the address
returned with the LINE statement is one which falls within the first
segment.

As I recall, this was because the first SEGMENT is loaded at startup and
tends not to move. Other segments can move about in memory causing the
address to become invalid. I suppose if all your CODE resources load at
startup and remain loaded without moving, perhaps you can get away with
placing the labels referred in the LINE statement in any segment. Risky!

Sorry for the confusion,

Deep