Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8797961
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:58:00+00:00 2026-06-13T23:58:00+00:00

My program is written in C# and manipulates with bitmaps on low level. Everything

  • 0

My program is written in C# and manipulates with bitmaps on low level. Everything works fine, but sometimes (very rarely, but stable) exception “Generic GDI+ exception” occurs, and it is very hard to reproduce such situations.

Exception happens on functions LockBits() and UnLockBits(). It contains error code “-2147467259”. On the language of GDI+ it would be method GdipBitmapLockBits and return code 7 or 1.

What kind of reasons may cause such situations?

Any answers greatly appreciate.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T23:58:03+00:00Added an answer on June 13, 2026 at 11:58 pm

    I’ve investigated this problem and it seems that it might be connected with threads.
    I don’t know for sure what really causes that issues and have no proofs, but after setting up locks throughout the code the problem seems to have gone.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Observe the following program written in Java (complete runnable version follows, but the important
I've written my first COM classes. My unit tests work fine, but my first
I've written a program (in C#) that reads and manipulates MSIL programs that have
I have program written in C. It takes 2 arguments username/password and try to
In the following program (written in irb shell) i call a method hidden of
That's my program written in C++ (OOP): #include <iostream> #include <string> using namespace std;
I have a membership program written with PHP and using mysql where users input
I Have a program written in VB6 that reads a long text file and
I have a simple program (written in Java) which uses the google protocol buffer
Hi I have a program written in C++ in which one or two functions

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.