>Are you saying that if ProcFile.prg is in the LocalRegistry.Procedure Library List that I do not have to include it in the "set procedure to " statement?
Yes. Exactly that. Just make sure they are specified in that appreg key. If they are not, whilst Codemine is loaded, remove them from the project, save the project and then add them back to the project. Codemine will add them to the Procedure Library List for you.
>I assumed that listing it in AppMain was required because Dave had included his Codemine.prg procedure file there.
Nope. Different issue.
>>What happens if you delete any FXP's?
>
>I tried that - no joy.
It may be that when you correct this issue by using the native procedure handling mechanism, the problem will go away. Technically, you are probably trying to "load" the same procedure files twice.
>What really puzzles me is the fact that the exact same ProcFile.fxp is perfectly usable when set from the command window, but triggers the error when set from AppMain.
When you are running from AppMain, the procedure files will also be loaded separately by the framework. When you are back at the command window, Codemine would have un-loaded them.
Let me know if removing your assignment from AppMain does the trick.
HTH
Best
-=Gary