Jump to content

Layer: Import From File crashes


Recommended Posts

Please give me some specific steps to reproduce the crash you're getting, and also paste in the contents of the pdncrash.log file (it is in the directory you installed to).

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

- Start PDN.

- From menu Layer -> Import From File... select a file (I checked on .jpgs).

- At the question "Expand canvas to fit imported image?" replay Yes.

- CRASH

This is the log:

------------------------------------------------------------------------------
Crash log for Paint.NET v2.2 (Alpha 1 Release build 2.2.2069.24094)
Time of crash: 04/09/2005 12.14.36

Exception details:
System.DllNotFoundException: Impossibile caricare la DLL (uxtheme.dll).
  at PaintDotNet.SystemLayer.SafeNativeMethods.OpenThemeData(IntPtr hwnd, String pszClassList)
  at PaintDotNet.SystemLayer.UI.DrawThemedButton(Control hostControl, Graphics g, Int32 x, Int32 y, Int32 width, Int32 height, ButtonState state)
  at PaintDotNet.AnchorChooserControl.OnPaint(PaintEventArgs e)
  at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
  at System.Windows.Forms.Control.WmPaint(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.UserControl.WndProc(Message& m)
  at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
  at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
------------------------------------------------------------------------------

[/code]

Link to comment
Share on other sites

Oh duh, you have Windows 2000, which doesn't have uxtheme.dll. I'll fix that bit of code.

I'm surprised nobody else has reported that. I'll bet Image->Canvas Size crashes too.

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

Windows XP SP1 provides a DLL we use that implements everything related to printing and scanning ...

So we have had two options to choose from:

1. Spend 1 hour implementing printing and scanning, but have these features require XP SP1 or later.

2. Spending 2 months implementing this feature, but have it work for everyone (hopefully).

For us the choice was clear.

This bug with Image->Canvas Size was just an oversight on my part :) If I'd spent 5 minutes testing in Virtual PC I would have noticed it too.

The other project I am on requires XP SP2 which means I can make a lot of assumptions about which system DLL's and features are present. So I just forgot to transition back to Win2K-and-XP mode for Paint.NET.

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

  • 3 weeks later...

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...