Jump to content

Paint.net 2.6b1


Recommended Posts

After upgrading from 2.6a2 to b1, got this,

Crash log for Paint.NET v2.6 (Beta 1 Release kooste 2.6.2193.32068)
Time of crash: 3.1.2006 09:07:05
OS version: 5.0.2195.262144
.NET Framework version: 2.0.50727.42 X86
Processor count: 1

Exception details:
System.EntryPointNotFoundException: Unable to find an entry point named 'GetLayeredWindowAttributes' in DLL 'user32.dll'.
  at PaintDotNet.SystemLayer.SafeNativeMethods.GetLayeredWindowAttributes(IntPtr hwnd, UInt32& pcrKey, Byte& pbAlpha, UInt32& pdwFlags)
  at PaintDotNet.SystemLayer.UI.SetFormOpacity(Form form, Double opacity)
  at PaintDotNet.PdnBaseForm.DecideOpacitySetting()
  at PaintDotNet.PdnBaseForm.OnHandleCreated(EventArgs e)
  at System.Windows.Forms.Control.WmCreate(Message& m)
  at System.Windows.Forms.Control.WndProc(Message& m)
  at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
  at System.Windows.Forms.ContainerControl.WndProc(Message& m)
  at System.Windows.Forms.Form.WmCreate(Message& m)
  at System.Windows.Forms.Form.WndProc(Message& m)
  at PaintDotNet.PdnBaseForm.OurWndProc(Message& m)
  at PaintDotNet.PdnBaseForm.WndProc(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Even tried clean install of beta1 but no luck. Going back to 2.6a2 still works. Yay, first bug report

sig2024.jpg.4c3dd6a1ed919373afa78c73a19ed629.jpg

Link to comment
Share on other sites

Dammit. This is the kind of trouble we get into while supporting older versions of Windows. "GetLayeredWindowAttributes" requires XP+, something I missed while looking at the Win32 documentation. This one's trivial to work around, but people I'm so glad we're not supporting 9x as we'd have like 1000 more of these to contend with ... I'll get out an updated Beta 1 asap.

(You'd think that since SetLayeredWindowAttributes() works on Win2K, that GetLayeredWindowAttributes() would as well... guess not. Bleh.)

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...