Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. I hate MS

I hate MS

Scheduled Pinned Locked Moved The Lounge
helpwinformscomgraphics
15 Posts 10 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • CPalliniC CPallini

    What's the (GDI+) bug? --Carlo the curious

    Veni, vidi, vici.

    W Offline
    W Offline
    wout de zeeuw
    wrote on last edited by
    #3

    For the curious Carlo's out there: http://social.msdn.microsoft.com/Forums/en-US/4c0aa2b2-6555-4c6f-85fc-8467e86bdf20/systemdrawinggraphicsdrawpath-throws-outofmemoryexception-when-drawing-a-very-small-cubic-bezier[^]

    Wout

    CPalliniC N RaviBeeR 3 Replies Last reply
    0
    • W wout de zeeuw

      I ran into a GDI+ bug, which will cause us a lot of pain getting around it. Alright, gotto deal with it, well let's report it at connect.microsoft.com. Fill in the fields, try to submit. Wait for minutes, and then back to the form. No error message about any field being incorrectly filled, nothing. So first I'm wasting time trying to find the cause of this GDI+ bug, and now I'm wasting time trying to tell MS about the bug.

      Wout

      M Offline
      M Offline
      Mark_Wallace
      wrote on last edited by
      #4

      sed 's/wasting time/wasting company time/'

      Don't do this at home, kids.

      I wanna be a eunuchs developer! Pass me a bread knife!

      1 Reply Last reply
      0
      • W wout de zeeuw

        For the curious Carlo's out there: http://social.msdn.microsoft.com/Forums/en-US/4c0aa2b2-6555-4c6f-85fc-8467e86bdf20/systemdrawinggraphicsdrawpath-throws-outofmemoryexception-when-drawing-a-very-small-cubic-bezier[^]

        Wout

        CPalliniC Offline
        CPalliniC Offline
        CPallini
        wrote on last edited by
        #5

        Oh, interesting. Thank you.

        Veni, vidi, vici.

        In testa che avete, signor di Ceprano?

        1 Reply Last reply
        0
        • W wout de zeeuw

          For the curious Carlo's out there: http://social.msdn.microsoft.com/Forums/en-US/4c0aa2b2-6555-4c6f-85fc-8467e86bdf20/systemdrawinggraphicsdrawpath-throws-outofmemoryexception-when-drawing-a-very-small-cubic-bezier[^]

          Wout

          N Offline
          N Offline
          Nagy Vilmos
          wrote on last edited by
          #6

          Probably because you used more than 256 lines :-D

          speramus in juniperus

          V 1 Reply Last reply
          0
          • N Nagy Vilmos

            Probably because you used more than 256 lines :-D

            speramus in juniperus

            V Offline
            V Offline
            vonb
            wrote on last edited by
            #7

            Nagy Vilmos wrote:

            more than 256 lines

            Or 256 characters...

            The signature is in building process.. Please wait...

            W 1 Reply Last reply
            0
            • V vonb

              Nagy Vilmos wrote:

              more than 256 lines

              Or 256 characters...

              The signature is in building process.. Please wait...

              W Offline
              W Offline
              wout de zeeuw
              wrote on last edited by
              #8

              It might just not work at all. X|

              Wout

              1 Reply Last reply
              0
              • W wout de zeeuw

                I ran into a GDI+ bug, which will cause us a lot of pain getting around it. Alright, gotto deal with it, well let's report it at connect.microsoft.com. Fill in the fields, try to submit. Wait for minutes, and then back to the form. No error message about any field being incorrectly filled, nothing. So first I'm wasting time trying to find the cause of this GDI+ bug, and now I'm wasting time trying to tell MS about the bug.

                Wout

                OriginalGriffO Offline
                OriginalGriffO Offline
                OriginalGriff
                wrote on last edited by
                #9

                Well, you could try to open a bug report to report the problem with reporting a problem...

                The only instant messaging I do involves my middle finger.

                "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                W 1 Reply Last reply
                0
                • OriginalGriffO OriginalGriff

                  Well, you could try to open a bug report to report the problem with reporting a problem...

                  The only instant messaging I do involves my middle finger.

                  W Offline
                  W Offline
                  wout de zeeuw
                  wrote on last edited by
                  #10

                  Or I might just ditch MS and start writing for Apple or Linux just to get back at them! And then I'll probably discover that the grass isn't greener at the other side.

                  Wout

                  S 1 Reply Last reply
                  0
                  • W wout de zeeuw

                    Or I might just ditch MS and start writing for Apple or Linux just to get back at them! And then I'll probably discover that the grass isn't greener at the other side.

                    Wout

                    S Offline
                    S Offline
                    Super Lloyd
                    wrote on last edited by
                    #11

                    Apple is perfect, don't you know that? And if there was any problem your NDA will prevent you from divulging it! ;P

                    My programming get away... The Blog... DirectX for WinRT/C# since 2013! Taking over the world since 1371!

                    1 Reply Last reply
                    0
                    • W wout de zeeuw

                      For the curious Carlo's out there: http://social.msdn.microsoft.com/Forums/en-US/4c0aa2b2-6555-4c6f-85fc-8467e86bdf20/systemdrawinggraphicsdrawpath-throws-outofmemoryexception-when-drawing-a-very-small-cubic-bezier[^]

                      Wout

                      RaviBeeR Offline
                      RaviBeeR Offline
                      RaviBee
                      wrote on last edited by
                      #12

                      Out of memory exceptions from GDI+ are an ancient and well-known anomaly.  Try loading a Bitmap from an image file and specifying a non-image file at run time. :) /ravi

                      My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

                      1 Reply Last reply
                      0
                      • W wout de zeeuw

                        I ran into a GDI+ bug, which will cause us a lot of pain getting around it. Alright, gotto deal with it, well let's report it at connect.microsoft.com. Fill in the fields, try to submit. Wait for minutes, and then back to the form. No error message about any field being incorrectly filled, nothing. So first I'm wasting time trying to find the cause of this GDI+ bug, and now I'm wasting time trying to tell MS about the bug.

                        Wout

                        S Offline
                        S Offline
                        SoMad
                        wrote on last edited by
                        #13

                        Yes, Multiple Sclerosis is a terrible disease. Hopefully they will find a cure someday. :^) Soren Madsen

                        "When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty

                        E 1 Reply Last reply
                        0
                        • W wout de zeeuw

                          I ran into a GDI+ bug, which will cause us a lot of pain getting around it. Alright, gotto deal with it, well let's report it at connect.microsoft.com. Fill in the fields, try to submit. Wait for minutes, and then back to the form. No error message about any field being incorrectly filled, nothing. So first I'm wasting time trying to find the cause of this GDI+ bug, and now I'm wasting time trying to tell MS about the bug.

                          Wout

                          E Offline
                          E Offline
                          ExcellentOrg
                          wrote on last edited by
                          #14

                          You are getting OutOfMemoryException because somewhere inside the code, you are trying to allocate the memory which cannot be allocated. Since memory allocation size is always an integral value, calculations of very small sizes are rounding off and requesting memory for zero (or maybe -ve) bytes. At low magnifications, you will not even see the chart so might as well as put a precanned bitmap there. If I were in your place, I'd handle the size and call into GDI only when size is decent enough for it to work. (No, intent is not to bypass the error, but to avoid attempting futile or impossible) I've had to face this error in C++ era and if I remember right it was on IBM OS/2

                          1 Reply Last reply
                          0
                          • S SoMad

                            Yes, Multiple Sclerosis is a terrible disease. Hopefully they will find a cure someday. :^) Soren Madsen

                            "When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty

                            E Offline
                            E Offline
                            ExcellentOrg
                            wrote on last edited by
                            #15

                            SoMad wrote:

                            Yes, Multiple Sclerosis is a terrible disease. Hopefully they will find a cure someday. :^)
                             
                            Soren Madsen

                            LOL!!! you've got wicked sense of humour....

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups