One of my externals (called "virtualfund") exhibits a strange behaviour when I first load it:
- If I open a patch containing the object, I get a "virtualfund: No such object". If, subsequently, I try to type it in the same patch, I get the same error. Then, if I type it in a new patch, it loads, and from now on I am able to load it in the first patch as well.
- If I type it in a new patch at first, it loads - and then I am able to correctly open a patch that contains it.
- If I load it manually, everything goes fine.
The external is in the same folder as all my other externals, which all load seamlessly.
I would guess the problem lies somewhere in the main function, but main itself is very simple and not different at all from my other externals'. The class name is correct in the class_new call... I am puzzled!
Any ideas about that?