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. General Programming
  3. C / C++ / MFC
  4. strange error GDI+

strange error GDI+

Scheduled Pinned Locked Moved C / C++ / MFC
graphicswinformshelp
10 Posts 6 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.
  • N Offline
    N Offline
    NoName II
    wrote on last edited by
    #1

    trying to create Bitmap object Bitmap *backBitmap; backBitmap=new Bitmap(GetSystemMetrics(SM_CXSCREEN),GetSystemMetrics(SM_CYSCREEN));//error C2660: 'Gdiplus::GdiplusBase::operator new' : function does not take 3 arguments

    J A D 3 Replies Last reply
    0
    • N NoName II

      trying to create Bitmap object Bitmap *backBitmap; backBitmap=new Bitmap(GetSystemMetrics(SM_CXSCREEN),GetSystemMetrics(SM_CYSCREEN));//error C2660: 'Gdiplus::GdiplusBase::operator new' : function does not take 3 arguments

      J Offline
      J Offline
      Justin Tay
      wrote on last edited by
      #2

      http://support.microsoft.com/kb/317799/EN-US[^]

      1 Reply Last reply
      0
      • N NoName II

        trying to create Bitmap object Bitmap *backBitmap; backBitmap=new Bitmap(GetSystemMetrics(SM_CXSCREEN),GetSystemMetrics(SM_CYSCREEN));//error C2660: 'Gdiplus::GdiplusBase::operator new' : function does not take 3 arguments

        A Offline
        A Offline
        ashish dogra
        wrote on last edited by
        #3

        hi dear i dont know how to use bitmap can u tell me or send me code or example how to use bitmap in an application Ashish Dogra MCA Noida

        H T 2 Replies Last reply
        0
        • A ashish dogra

          hi dear i dont know how to use bitmap can u tell me or send me code or example how to use bitmap in an application Ashish Dogra MCA Noida

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #4

          You can use CBitmap or CImage or LoadImage or OleLoadPicture or Graphics::DrawImage(...) Image::FromFile() or (i think example) CXImage in the codeproject and..._**


          **_

          whitesky


          T 1 Reply Last reply
          0
          • N NoName II

            trying to create Bitmap object Bitmap *backBitmap; backBitmap=new Bitmap(GetSystemMetrics(SM_CXSCREEN),GetSystemMetrics(SM_CYSCREEN));//error C2660: 'Gdiplus::GdiplusBase::operator new' : function does not take 3 arguments

            D Offline
            D Offline
            David Crow
            wrote on last edited by
            #5

            Which Bitmap constructor are you attempting to use?


            "The largest fire starts but with the smallest spark." - David Crow

            "Judge not by the eye but by the heart." - Native American Proverb

            N 1 Reply Last reply
            0
            • D David Crow

              Which Bitmap constructor are you attempting to use?


              "The largest fire starts but with the smallest spark." - David Crow

              "Judge not by the eye but by the heart." - Native American Proverb

              N Offline
              N Offline
              NoName II
              wrote on last edited by
              #6

              the problem was solved. reason was that MFC DEBUG_NEW Does Not Work with GDI+

              1 Reply Last reply
              0
              • H Hamid Taebi

                You can use CBitmap or CImage or LoadImage or OleLoadPicture or Graphics::DrawImage(...) Image::FromFile() or (i think example) CXImage in the codeproject and..._**


                **_

                whitesky


                T Offline
                T Offline
                ThatsAlok
                wrote on last edited by
                #7

                WhiteSky wrote:

                CXImage in the codeproject

                Hi Sky!,    IMHO CXimage is very bulky class for Beginner!, :).. anyway how are you?

                "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

                H 1 Reply Last reply
                0
                • A ashish dogra

                  hi dear i dont know how to use bitmap can u tell me or send me code or example how to use bitmap in an application Ashish Dogra MCA Noida

                  T Offline
                  T Offline
                  ThatsAlok
                  wrote on last edited by
                  #8

                  ashish dogra wrote:

                  hi dear i dont know how to use bitmap can u tell me or send me code or example how to use bitmap in an application

                  try this link :- http://codeproject.com/bitmap/[^]

                  "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                  cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

                  1 Reply Last reply
                  0
                  • T ThatsAlok

                    WhiteSky wrote:

                    CXImage in the codeproject

                    Hi Sky!,    IMHO CXimage is very bulky class for Beginner!, :).. anyway how are you?

                    "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                    cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

                    H Offline
                    H Offline
                    Hamid Taebi
                    wrote on last edited by
                    #9

                    Hi Alok Gupta, not abd.How are you? Did you have a good week(and I hope that you have a good weekends)? I think you are busy not problem work is good._**


                    **_

                    whitesky


                    T 1 Reply Last reply
                    0
                    • H Hamid Taebi

                      Hi Alok Gupta, not abd.How are you? Did you have a good week(and I hope that you have a good weekends)? I think you are busy not problem work is good._**


                      **_

                      whitesky


                      T Offline
                      T Offline
                      ThatsAlok
                      wrote on last edited by
                      #10

                      WhiteSky wrote:

                      I think you are busy not problem work is good.

                      I know:)

                      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                      cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

                      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