❔ "A General Error Has Occurred in GDI+"
If I delete 21 lines, an exception occurs, which is indicated in the topic name. If I do not remove it, then the screenshot is displayed in the application 1 time and when I try to take a screenshot again, it is saved on the desktop, but it is not displayed in the application. How to fix it? It is not possible to use the using directive.
4 Replies
Decided.
Decision:
why are you calling g.Dispose() inside the using
the aim of using is calling Dispose() for you
also i don't have time to check now but it seem there is something off with the sequence of the operations
why are you calling g.Dispose() inside the usingI was already tired at that time and for some reason I didn't notice it Everything works fine for me
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.