I built a DLL with complete printing, rendering, filehandling, encryption, databasehandling and a designer form.
When i use the dll with my test Application everything works perfect.
I can call the dll and use it to create, open, edit, save, render and print reports.
If i use the same DLL with the same call from a .net dll loaded into a ACCESS application i can open the designer and see the report but the preview tab is missing and as soon as i move the mouse over the report window i get a unhandled exception. Printing and and rendering + preview of reports works fine.
If i click on continue i can again use the mouse and change datasources or variables but as soon as i hover over the report i get the message again.
Screenshot is in the attachments.
Crossing the red line triggers the exception
First lines of the exception.
Code: Select all
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei Stimulsoft.Report.QuickButtons.StiQuickButtonHelper.GetQuickButtons(Type type)
bei Stimulsoft.Report.Design.StiDesignerControl.GetQuickButtons(StiComponent component) in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report.Design\StiDesignerControl.IStiDesignerBase.cs:Zeile 199.
bei Stimulsoft.Report.Design.Tools.StiSelectToolService.CheckQuickButtons() in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report.Design\Tools\StiSelectToolService.cs:Zeile 2852.
bei Stimulsoft.Report.Design.Tools.StiSelectToolService.OnMouseMove(Object sender, MouseEventArgs e) in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report.Design\Tools\StiSelectToolService.cs:Zeile 566.
bei Stimulsoft.Report.Design.Controls.StiViewControl.OnMouseMove(MouseEventArgs e) in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report.Design\Controls\StiViewControl.cs:Zeile 1501.
bei System.Windows.Forms.Control.WmMouseMove(Message& m)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Its probably something stupid on my end.
Do you have any idea how to fix that?
Do you need more information like code of the designer control form?
Greetings and thank you for your help in advance!