big10p #1 That code can only fail if you pass an invalid bank handle to the function. Therefore, this must be what you're doing. :)Check you're not passing in a handle of a freed bank etc.