ObjError is it's own .prg, it's on the path at devtime and built into the exe for runtime. Also I use
ON ERROR ObjError( .null., ... )
to catch the few errors that might occur outside of the objects.
My path is just .\SOURCE\;..\;C:\PROGRAM FILES\VS98\VFP98\TOOLS\
I store common stuff to all apps in the ..\ directory
I try very hard to set up my forms, objects and code so they can be unit tested without junk like an oApp service provider being required. I never, ever, do a
build app
I can just run my forms from the designer. I find it simplifies my life a lot. I don't do humungoApp development though most of what I do are small single purpose applets.
>Do you do a SET PROC TO DevProc or something like that when you open VFP? and keep ObjError() in a procedure file... or is ObjError.prg on your path???