Basically every time I try to use the viewport callback to refresh or whatever it works until I delete the object.
Just so this makes some sense.
Create an object then
create a FN to set the objects name to the MaxFileName
Use the viewport callback so that it updates when the maxfile is saved
It works fine, now if I delete that object I always get an error.
Even if I use the UnregisterRedrawViewsCallback then delete the object.
Just thought I'd post this up here hoping someone would be able to reply....