I decided to put what I needed from your API into a separate library, then I created a new wpf project. It worked perfectly. Then I used the library in my real project and it failed. There is something in my real project that conflicts with something in your library. Since my real project if very old and has gone through a lot of reference changes over the years, I'm going to transfer the code to a new wpf project and get rid of references that are dated and that I don't need. I'm certain that will fix the problem.
Thanks.
Thanks.