rtb_evnt hooks

Chris Kelleher

Administrator
Staff member
Happy New Year to all!

I have a question about using a Roundtable hook through the rtb_evnt module
with which I hope someone can help.

I am using the "OBJECT-COMPILE" hook to do some extra processing after the
module is compiled in Roundtable, and everything with the hook works great
so far. The question that I have is how can I tell which compile 'mode' I
am using? Is there an easy way to tell if I am doing a Selective Compile
as opposed to one of the other compile options on the Compile menu?

I would like to be able to use the same kind of method as Roundtable to
collect all my programs messages and display them at the end of the compile.


Thanks,
James

===================================================================
James M. Whittenburg mailto:jwhittenburg@mccamish.com
McCamish Systems, L.L.C. http://www.mccamish.com
Work phone -- (770)690-1570
Pager -- (800)503-8121
===================================================================
 

Chris Kelleher

Administrator
Staff member
James,

As far as I know the OBJECT-COMPILE hook is not able to see which kind of
compilation is being done. The hook fires for each object that is compiled
and therefore, the type of compilation is not really relevant.

I have had the privilige of looking at the selective compile code in the
past, and can tell you that the type of compilation is managed very
internally in the RTB code.

I am not quite sure how you would manage gathering messages from the compile
process without getting StarBase to change the compile process.

Regards

Thomas
 

Chris Kelleher

Administrator
Staff member
I have a program that captures the results of a java compile and evaluates
the results to take action on them. If you'd like a copy of the code, I can
send it to you off line.
 
Top