>>>>Hi everybody,
>>>>
>>>>I found really strange problem. I have a program called OpenTable, which I recently modified. I recompiled Project, which might use it and exclude this program from the project. I put messagebox into this program to see, what's going on.
>>>>
>>>>This application uses MetaFile. In this MetaFile InitExp I put OpenTable(myTable,,,"Geo"). I want it to open myTable with Geo tag. This application produces a report and I noticed, that the table used in native order, not in the Geo tag. Well, I put messagebox in the top of the program. Needless to say, that this messagebox is not displayed. This is the program I had other problems before with Need to specify additional parameter problem.
>>>>
>>>>AFAIK, there is no other OpenTable program in the path and our main procedure file doesn't have a function with this name. Still I'm thinking, it uses not my last program, since it doesn't display my messagebox.
>>>>
>>>>How can I find out, what's going on? I already spent too much time on this stupid problem :(((
>>>>
>>>>Thanks a lot in advance.
>>>
>>>Set a breakpoint in the debugger on your OpenTable program. When it gets there, if it's not your code you see, then it's finding it somewhere else.
>>
>>I put suspend and acti wind debug in OpenTable program. It doesn't stop there.
>>
>>How should I find out, if this application is not mine? Though, I may try to put susp in application temporary.
>
>Put the breakpoint in the debugger itself, using the BreakPoint Dialog (the hand):
>
>Type will be "break at location" and enter OpenTable in the location box. Now be sure to click the Add button! (I frequently forget that) Then do OK.
>
>It should now stop at whatever code is the OpenTable code.
Fred,
I put suspend in the project itself in the right place.
acti wind debug
susp
if not empty(m.initexp) && initial (WHEN) clause specified
if not evaluate(m.initexp) && check failed
do posrest with m.prevpos, REPT_ALIAS && restore meta-file position
return .f. && report cancelled - initexp handles any msgs.
endif
endif
When it went to OpenTable, it showed Source is out of date. I checked set('procedure'). There are three of them:
wgUtility (it invokes OpenTable several times, but doesn't contain the function with this name)
valmeths - doesn't have even reference to opentable
PrivateDSClass - invokes OpenTable as well and this program is in another project - it's a class definition.
So, now my quesion is: Clear Class PrivateDSClass would release this program from memory? PrivateDSClass is a session based class, which used in another application.
If it's not broken, fix it until it is.
My Blog