Error 5: At Line: 3 Err.Desc: 'An error occurred creating the form. See Exception.InnerException for details. The error is: Attempt by security transparent method 'Ꮾ.Ἳ.(IntPtr, Int32 ByRef, Int32 ByRef, Int32 ByRef, Int32 ByRef, Int32 ByRef)' to call native code through method 'Ꮾ.⸡.⸵(IntPtr, ScrollBarDirection, SCROLLINFO ByRef)' failed. Methods must be security critical or security safe-critical to call native code.' Exception: 'System.InvalidOperationException: An error occurred creating the form. See Exception.InnerException for details. The error is: Attempt by security transparent method 'Ꮾ.Ἳ.(IntPtr, Int32 ByRef, Int32 ByRef, Int32 ByRef, Int32 ByRef, Int32 ByRef)' to call native code through method 'Ꮾ.⸡.⸵(IntPtr, ScrollBarDirection, SCROLLINFO ByRef)' failed. Methods must be security critical or security safe-critical to call native code. ---> System.MethodAccessException: Attempt by security transparent method 'Ꮾ.Ἳ.(IntPtr, Int32 ByRef, Int32 ByRef, Int32 ByRef, Int32 ByRef, Int32 ByRef)' to call native code through method 'Ꮾ.⸡.⸵(IntPtr, ScrollBarDirection, SCROLLINFO ByRef)' failed. Methods must be security critical or security safe-critical to call native code.
at Ꮾ.Ἳ.(IntPtr , Int32& Ὀ, Int32& Ὁ, Int32& Ὂ, Int32& Ὃ, Int32& Ὄ)
at GdPicture.ThumbnailEx.「()
at GdPicture.ThumbnailEx.〗()
at GdPicture.ThumbnailEx._Lambda$__1(Object a0, EventArgs a1)
at System.Windows.Forms.Control.OnResize(EventArgs e)
at System.Windows.Forms.ListView.OnResize(EventArgs e)
at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height)
at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
at System.Windows.Forms.Control.System.Windows.Forms.Layout.IArrangedElement.SetBounds(Rectangle bounds, BoundsSpecified specified)
at System.Windows.Forms.Layout.DefaultLayout.xLayoutDockedControl(IArrangedElement element, Rectangle newElementBounds, Boolean measureOnly, Size& preferredSize, Rectangle& remainingBounds)
at System.Windows.Forms.Layout.DefaultLayout.LayoutDockedControls(IArrangedElement container, Boolean measureOnly)
at System.Windows.Forms.Layout.DefaultLayout.xLayout(IArrangedElement container, Boolean measureOnly, Size& preferredSize)
at System.Windows.Forms.Layout.DefaultLayout.LayoutCore(IArrangedElement container, LayoutEventArgs args)
at System.Windows.Forms.Layout.LayoutEngine.Layout(Object container, LayoutEventArgs layoutEventArgs)
at System.Windows.Forms.Control.OnLayout(LayoutEventArgs levent)
at System.Windows.Forms.ScrollableControl.OnLayout(LayoutEventArgs levent)
at System.Windows.Forms.ContainerControl.OnLayout(LayoutEventArgs e)
at System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
at System.Windows.Forms.Control.System.Windows.Forms.Layout.IArrangedElement.PerformLayout(IArrangedElement affectedElement, String affectedProperty)
at System.Windows.Forms.Control.ControlCollection.Add(Control value)
at GdPicture.ThumbnailEx..ctor()
--- End of inner exception stack trace ---
7.3 - ThumbNailEX + .Net 4 Error
7.3 - ThumbNailEX + .Net 4 Error
After Upgrading to 7.3 I get the following Error when I try to use a ThumbNailEx Control with .Net 4 - 7.2 works fine btw:
Re: 7.3 - ThumbNailEX + .Net 4 Error
Hi,
How to reproduce the problem ?
Kind regards,
Loïc
How to reproduce the problem ?
Kind regards,
Loïc
Re: 7.3 - ThumbNailEX + .Net 4 Error
uploaded a project where I get the error - just open the designer or start it
using 7.3 Dlls - Framework 4.0 - vs2010 & vb.net
the 7.2 Ones work fine though
using 7.3 Dlls - Framework 4.0 - vs2010 & vb.net
the 7.2 Ones work fine though
- Attachments
-
- gdpicture_test.zip
- (307.55 KiB) Downloaded 392 times
Re: 7.3 - ThumbNailEX + .Net 4 Error
Hi,
Thank you. We will fix this issue for the next minor release (to be released within 7 days).
Kind regards,
Loïc
Thank you. We will fix this issue for the next minor release (to be released within 7 days).
Kind regards,
Loïc
Who is online
Users browsing this forum: No registered users and 0 guests