>I am using the wwpdf class to do pdf files. I have several apps that use this which I have copied in to each app. I one app I had to modify the code to test for a certin person being loged on. I copied this program into my latest app and now when the former app is running along with my new one the new app uses the other program. What's going on?
Are you sure you copied the .prg only and not the .fxp as well? VFP compiled files do have some paths in them.
Or are you running them in the same instance of VFP? In that case, there can be only one (pun intended but wrong, I'm a flatlander), i.e. if you have two snippets (prgs, functions, methods, whatever) with the same name in the memory, the first one along the search chain is used. In case of methods, though, the full name of the object is part of the program name, so you don't get same names (unless somehow you have two objects with identical names).