Hi Scott and modelright:
Scott's zip with MS dlls -- yeah but, aren't they supposed to be installed properly at some expected location? For me, these duplicate the ones installed by the downloaded installer from MS, so I think I'm covered.
Anyhow, corroborating previous observations, turns out that if the client program calling SCF.dll is placed in the MR home directory, then things work, but take the same client and locate in some other directory -- no dice.
That's a difficult experiment to do with VBA hosts like Excel, but my Delphi demo which is a minimal stand-alone executable (except for SCF!), is readily able to do this, and indeed demos this issue.
I wanted to send you this demo client in an attachment, but your site is limited to 64k upload, so, it's here:
http://grahamwideman.com/gw/misc/modelright/index.htm
Unzip and place the exe anywhere to run (no install necessary). I suggest start with it in the MR executable directory. Running it opens a form with a button. Press button to exercise interaction with SCF, producing output messages showing progress through calls to SCF.
Also in the zip is the source code (Delphi 6, but probably OK with more recent versions). The salient part is in file MRTest_fm_Main.pas, procedure TForm1.bt_BeginClick() ... which closely parallels the Help file Script Language API Reference demo, similar to earlier in this discussion thread.
Results I see: Running from MR home dir, works. Run exe from elsewhere, breaks executing:
Unk := MRO.Children('Table')
Capturing FileMon output was the most helpful diagnostic for me, especially while single-stepping. Since you probably don't have a Delphi environment on hand to try the single stepping, I arranged the app itself to execute the statements one at a time, waiting for user before each one.
Don't know if this will be a great help, but it was pretty useful for me.
Graham