public void SetErrorCallback(IntPtr converter, StringCallback callback) { Tracer.Trace("T:" + Thread.CurrentThread.Name + " Setting error callback (wkhtmltoimage_set_error_callback)"); WkhtmltoxBindings.wkhtmltoimage_set_error_callback(converter, callback); m_pinnedCallbacks.Register(converter, callback); }