>>>>Everything is in the path, but it still gives me Source not available :((
>>>
>>>Have you included the debug info in the application?
>>
>>Yes, since it works from its own directory. Anyway, I gave up and I'm testing it from its own directory now. Unfortunately, the code is overcomplicated and very deep, so I clicked run to cursor at the wrong place now. I'll try again.
>
>Then it's a pathing issue, probably involving the application's home directory. It might also be some module re-setting the path, then not restoring it. For example, a routine to check for the existence of a file might set the path to a null string to force VFP not to search its path. Proper coding technique dictates that if a routine changes the environment, it should restore it prior to completion.
George,
As far as I know, there is no changing path in BtCrit. The problem is, what this one is extremely complicated application with couple of layers. I wrote the top layer (user interface) and my colleague wrote lots of really complicated components in it. Still I don't think, that in either in this components the path settings is changed...
If it's not broken, fix it until it is.
My Blog