Why did you deregister SMBSHARE when your code is using it??