Sorry, pressed the wrong key.
Try
oGET_QTE = NULL
before releasing it. At the end, execute
SET CLASSLIB TO
HTH
>Hi!
>
>This code is in a .PRG file. In my application, (APPLICATION.EXE), I execute this function within a key label. Sure, I compile it before with the command [COMPILE *.PRG]. Why I cannot delete the .FXP file after I ran this .PRG?
>
>I used to do it with function without DEFINE CLASS so I never got this problem.
> Do you have an idea?
>
>Thanks
>
>
>**************************************************
>
>PUBLIC oGET_QTE
> oGET_QTE = NEWOBJECT("GET_QTE")
>
>IF TYPE("oGET_QTE") = "O"
> oGET_QTE.SHOW(1)
>ENDIF
>
>RELEASE oFORM, oGET_QTE
>RETURN
>
>**************************************************
>
>DEFINE CLASS get_qte AS FORM
>...
>...
>...
>ENDDEFINE
>
>********************