How do I replicate the functionality of arev regarding calling a program in place of, or following and index update?
In OI you have the TIMER event.
OI cannot run Arev32 programs, you have to rewrite them
in Basic+.
Please excuse my lack of familiarity with making Arev32 work with OI. How would I set up a timer event to work if someone logs directly into an Arev32 application?
The Replace Index Process works in Arev32; however I still cannot get the Post Index Process to work.
One problem with this though is that Arev32 seems to use AREVC.INI and cannot be redirected to another INI file. This prevents user-specific timing for these processes.
Does anyone know how to overcome this?
In ARevDOS did you setup a dedicated indexing machine?
On that machine you would have had the post-indexing processes running.
In Arev32/OI you would setup a dedicated machine to process indexes.
I have a machine at a client that uses the Windows Scheduling to start every weekday morning at 04:00 a.m. The default application window fires the CREATE event where I detect it is running the indexer machine.
It starts a Arev32 Child Form to do the Arev processing for the morning, then when done it does a OFF command.
Meanwhile, I use the
call showOpenEngine( 1); call Set_Bgnd_IX_Time( seconds); call Set_IDXSvr(1)
to set the OI engine to become an index server.
There is also a timer event started to have the machine log off of OI after 11:30 p.m. that evening.
Dave
Thanks for your help. You told me more about this than I knew.
I ran a number of experiments, but still did not have any success with running something from a post index hook in Arev32
I ended up calling Revelation for help and was told that background indexing in Arev32 was never implemented because Arev32 relies on the OI indexing routine. So, the post index process in Arev32 is never called. I ended up using the Replace process, which does work.