OK, got this working. I had to change the Version Compatibility setting from "Binary Compatibility" to "No Compatibility" to successfully compile the DLL which I then registered using regsvr32. Works great now! Thanks, this palette issue was a minor annoyance to deal with!!!