Getting execption calling SetCompatibleTextRenderingDefault() in AddIn RRS feed

  • Question

  • Hi all;

    Under Windows 8 we are getting the following exception:

    SetCompatibleTextRenderingDefault must be called before the first IWin32Window object is created in the application.
    Stack Trace:    at System.Windows.Forms.Application.SetCompatibleTextRenderingDefault(Boolean defaultValue)
       at AutoTag2013.Connect.OnConnection(Object application, ext_ConnectMode connectMode, Object addInInst, Array& custom) in c:\vso\Jenova\14.0\Merge\AutoTag\AutoTag2010\net\windward\autotag\Connect.cs:line 257

    We are calling this in OnConnection() at the start of that code.

    Any idea what the problem is? And how do I fix it?

    thanks - dave

    What we did for the last 6 months - Made the world's coolest reporting & docgen system even more amazing

    Friday, February 27, 2015 6:53 PM

All replies