| Title: | POLYCENTER Console Manager |
| Notice: | Kits, Scans, Docs on CSC32:: as PCM$KITS:,PCM$DOCS:, PCM$SCANS: |
| Moderator: | CSC32::BUTTERWORTH |
| Created: | Thu Aug 06 1992 |
| Last Modified: | Fri Jun 06 1997 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 1541 |
| Total number of notes: | 6564 |
It looks like the re-send of events made by the acknowledge doesn't
go through the Ens pre-processor ?
Am i right or is there something wrong with the pre-processor i'm
currently using ?
thanks
Pierre
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 950.1 | CSC32::BUTTERWORTH | Gun Control is a steady hand. | Tue Aug 29 1995 11:49 | 8 | |
Pierre,
I'm not quite following you here. If I read this correctly, you
are acknowledging a event (within the Mutli-Line Window for example)
and the preprocessor doesn't get a chance to process it? I can
check the code to see if these kinds of events are not passed.
Regs,
Dan
| |||||
| 950.2 | Yes Please | 52336::BAUDELLE | Wed Aug 30 1995 02:41 | 13 | |
Dan,
You are right and i'd like to use the pre-processor to modify some
event fields in order to prevent the same filter to apply when you
acknowledge an event (An action routine would then be activated when
receiving an event but not when ack it)
Thanks to check the code
Regards
Pierre
| |||||
| 950.3 | CSC32::BUTTERWORTH | Gun Control is a steady hand. | Wed Sep 06 1995 14:46 | 23 | |
Pierre,
As I expected, there is no special case for acknowledged events. They
will be passed on to the preprocessor assuming you are using the
CMUserAcknowlegeEvent routine. The code will call the internal routine
to send the event to ENS just as the controller daemons do. The only real
difference in an event and an acknowleged event is that the event type is
set to CMEventTypeAck. Use the following 'C" macro to look at the type:
CMEventType(event)
to see if it's equal to CMEventTypeAck. The macro and CMEventTypeAck
are defined in console.h. I would also suggest putting in some
debugging code that can be turned on an off. Whenever I write an action
or preprocessor I create a logical name and then use the 'C' RTL
routine "getenv" to interrogate it. yes, getenv will look for a logical
name as well as a symbol so you don't have to code up a call to the
$TRNLNM service yourself.
Regs,
Dan
Regs,
Dan
| |||||