Bob,
Then you can duplicate the error in development machine. It wouldn't be as good as tracing a code version but helps.
-Create a folder and put your files there as would be on a client machine.
-Temporarily rename your development folders to something else (so file would not be found from those folders)
-Launch VFP and set defa to your test folder.
-Set path to none (set path to)
Launch your exe with a wrapper code:
On Error Do myHand With ;
ERROR( ), Message( ), Message(1), Program( ), Lineno( )
Do myApplication.exe
Function myHand
Lparameters tnErrNo, tcErrMsg, tcCode, tcProgram, tnLineNo
Local m.lcMessage, lnProgLevel,lcProgStack
lcProgStack='Program stack :'+Chr(13)
For lnProgLevel=1 To Program(-1)
lcProgStack = m.lcProgStack + Chr(13) + Program(m.lnProgLevel)
Endfor
TEXT to m.lcMessage textmerge noshow
Error #<<tnErrNo>> occurred
At Line <<tnLineNo>> of your Program <<tcProgram>>
Line with error :<<tcCode>>
Error text : <<tcErrMsg>>
<<lcProgStack>>
ENDTEXT
Messagebox(m.lcMessage)
On Error
Cancel
Endproc
It might help you to find out where it occurs at least.
Cetin
>Yes, there is an error handler, but this error is not logged.
>>>Hello all,
>>>
>>>I am getting the above error when running an MM app. The error happens only on machines that are not development machines. Therefore, I cannot duplicate the error and trace it to find where the error resides.
>>>
>>>The documentation for MM says when this occurs, to delete all FXP's in the Framework. Does this mean all compiled programs in my project or just the Framework files? Either way, I do not believe this would fix the problem.
>>>
>>>Any ideas are appreciated.
>>>
>>>TIA
>>
>>Isn't there some sort of error handler that logs info about error details in your application?
>>Cetin