I have tried to convert some code using Visual Studio and I get the error message: VarPtr function is not supported. Below is a part of the code where the message is coming up. There are a few more entries with this in it so I can post them too if they will help. RTF.SelectionColor ...