OI9.2 Recompile and load MFS (OpenInsight 32-Bit)
At 01 FEB 2011 01:37:25PM David Salvesen wrote:
Does anyone know of a way to compiling an MFS so it gets loaded immediately rather than having to switch between applications or restarting OI please?
Re-attaching the volume that uses the MFS doesn't seem to work. I have also tried using Run Rev_Compiler "MY_MFS","","","" (as suggested by Andrew Mcauley in 1997 instead of 'expendable') but get an error 'the procedure type is invalid', suggesting that a further parameter might be required.
Running RTP5 works fine but doesn't replace the code in memory.
At 01 FEB 2011 02:06PM [email protected] wrote:
Hi David,
Try using RTP27 directly, e.g.
call RTP27( "MY_MFS*MYAPP" )And see if that does the trick…
Battlestar Sprezzatura - BSG 77
Colonial leaders in all things RevSoft
At 01 FEB 2011 03:53PM Bruce Cameron wrote:
David,
Not sure if this will help you in this instance but I usually do all the logic *outside* of the MFS as a called subroutine/function from the MFS.
This way I never have to touch it, can just compiled my called routine(s).
I have even just used one MFS program for every MFS regardless and pass parameters out to the calling program.
And have also made a call from the called program for easier testing/debugging. That way I can tell myFirstCall what to call.
I.E.
MFS -] myFirstCall -] ActualLogicbasedCall
HTH
At 01 FEB 2011 09:14PM Richard Hunt wrote:
I'm not sure this will work with an MFS… I have used "GARBAGECOLLECT" to do what you want with other newly compiled programs and it works for me.