on 12/28/00 8:29 PM, Osamu Shigematsu at shigematsu@... wrote: First the code was created by Rick Brown...I just passed it on. > > So I believe your code must work on FB^3, but we have better use > PBOpenWDSync(), instead of FN OpenWD(), I think. Because somebody may > confuse the argument of FN OpenWD() is different from Apple's IM. Thank you. I will note it. (Please let me know if it works.) > > BTW, I have the other two questions. > > (1) When should I close working directory id. I have never closed that. How > many references can I open? The wdRefNum% which was returned by FILES$(), > etc will be automatically closed by FB^3 runtime? Not sure exactly what you mean, however, the wdRefNum% is only valid while the file is open. As I understand things, when the file closes, the refNum% becomes questionable. When supplied with a file name and wdRefNum%, FB can find the file, but wdRefNum% can't be saved, resolved and used later. Every file has a wdRefNum% assigned to it when it is opened. (Jump in gang...I am treading water here...) > > (2) Is there simple way to obtain the app sig itself? I guess the Process > Manager tell me it, right? A smart person will have to answer this. -- Best Wishes, George mailto: gbeckman@... http://www.pggp.com