Information générale
Titre:
Class code not updating
Versions des environnements
Network:
Windows 2003 Server
Greetings!
In VFP9 SP1, when I add a new class to a specific class library OR modify class method code for a class in the same class library, VFP is not recognizing either of them?
For modifying a class method, I had code like this:
IF This.lnSchHrsToDate + This.lnScheduledHours > This.lncoursehours
This.lnscheduledhours = This.lncoursehours - This.lnschhrstodate
This.lnschhrstodate = This.lncoursehours
ELSE
This.lnSchHrsToDate = This.lnSchHrsToDate + This.lnScheduledHours
ENDIF
Changed it to:
*!* IF This.lnSchHrsToDate + This.lnScheduledHours > This.lncoursehours
*!* This.lnscheduledhours = This.lncoursehours - This.lnschhrstodate
*!* This.lnschhrstodate = This.lncoursehours
*!* ELSE
This.lnSchHrsToDate = This.lnSchHrsToDate + This.lnScheduledHours
*!* ENDIF
But, when I run it in the debugger, the source code is the code BEFORE I made the Change, which means the object code has not changed?
I have used Rich Schummer's HackCX tool to delete the object code and recompiled it. I have changed the names of the classes, etc. No matter what I do, I cannot get VFP to recognize the changes???
What's with that anyone?
Thanks,
Scott M.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement