I do not see problems in production, only developement. Sometimes the program crashes before getting to the release part. I don't understand why clear all will not release the fxp?
>I've seen times when Fox doesn't release objects. Before the RETURN, put
>
lo = NULL
>
>>Hi all,
>>
>>I have an interesting problem that I can't seem to be able to find a solution. I have a class created in a prg. At the top of the prg, I have the following code.
>>
>>
>>Lparameters parm1,parm2
>>Local lcRet lo
>>Lo = createobject(“myclass”)
>>lcRet = lo.Render(parm1,parm2)
>>lo.release()
>>return lcRet
>>
>>* that way I can just call the prg to render the string.
>>lcString = myprogram(“a”,”b”)
>>
>>
>>During development I sometimes get an error that myprogram.fxp can not be created. I have tried to clear all clear programs… and any other clear commands I can think of. The only way I can seem to fix this is to quit vfp and then get back in. What am I missing?
>>
>>Thanks.