>>In the LoadSave method I use PEMSTATUS() and the macro "&" commands.
>>>What can cause this?
>Jean-Rene,
>
>Can you post the code in LoadSave, that is where your problem likely is and it is very hard to guess what might be doing it without seeing the code.
>
>Calling PEMSTATUS() more than one time in a line of code can leave object references lying around. For example;
Your are right! I place all call to PenStatus() in comment and VFP do not crash.
How can we use this function! What I am doing wrong.
I call this function like this:
if PEMSTATUS(this.&laProperty[lnInd ],"LoadSave",5)
...