Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Application doesn't use the correct version of the progr
Message
De
30/01/2001 14:55:23
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00470222
Message ID:
00470276
Vues:
46
>>>>>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.
>
>****** NNNNNN Nadya Nosonovsky 01/30/2001 02:30:56 PM
>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.

So is OpenTable a method of a class or a separate function in a .PRG file? Either way, you've got it coming from somewhere else since it's never hitting your breakpoint in the code (it's still running an old version). Yuri's right, you've got someother compiled version somewhere. If this is on a Novell system, you might have to re-boot your server to get this cleared out.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform