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

DDX

Scheduled Pinned Locked Moved C / C++ / MFC
help
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.
  • C Offline
    C Offline
    CodeMak
    wrote on last edited by
    #1

    why am i getin error when declaring control variables through ddx

    _ D M 3 Replies Last reply
    0
    • C CodeMak

      why am i getin error when declaring control variables through ddx

      _ Offline
      _ Offline
      _AnsHUMAN_
      wrote on last edited by
      #2

      arshadkc wrote:

      why am i getin error when declaring control variables through ddx

      what error? How are you going along with the declaration of variables?

      Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_

      C 1 Reply Last reply
      0
      • _ _AnsHUMAN_

        arshadkc wrote:

        why am i getin error when declaring control variables through ddx

        what error? How are you going along with the declaration of variables?

        Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_

        C Offline
        C Offline
        CodeMak
        wrote on last edited by
        #3

        Error is Memory could not be read I'm tryin to declare variable for a button through class wizard

        H 1 Reply Last reply
        0
        • C CodeMak

          Error is Memory could not be read I'm tryin to declare variable for a button through class wizard

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

          You get this error on all your projects or in this project


          WhiteSky


          C 1 Reply Last reply
          0
          • H Hamid Taebi

            You get this error on all your projects or in this project


            WhiteSky


            C Offline
            C Offline
            CodeMak
            wrote on last edited by
            #5

            ya most time i am getin this error in my other projects also but when i'm not declaring variable through ddx i am not getin error here

            T 1 Reply Last reply
            0
            • C CodeMak

              ya most time i am getin this error in my other projects also but when i'm not declaring variable through ddx i am not getin error here

              T Offline
              T Offline
              toxcct
              wrote on last edited by
              #6

              show off a piece of the code you wrote...


              TOXCCT >>> GEII power

              [VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]

              C 1 Reply Last reply
              0
              • T toxcct

                show off a piece of the code you wrote...


                TOXCCT >>> GEII power

                [VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]

                C Offline
                C Offline
                CodeMak
                wrote on last edited by
                #7

                In debug mode i am getin error as unhandled exception and accec violation at statement lResult = pWnd->WindowProc(nMsg, wParam, lParam); in funtion AfxCallWndProc

                1 Reply Last reply
                0
                • C CodeMak

                  why am i getin error when declaring control variables through ddx

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

                  What error (e.g., compiler, linker, exception, assertion)? What does the DDX statement look like? Is the variable present in the class' definition?


                  "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

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

                  C 1 Reply Last reply
                  0
                  • C CodeMak

                    why am i getin error when declaring control variables through ddx

                    M Offline
                    M Offline
                    Michael Dunn
                    wrote on last edited by
                    #9

                    I think the 11-year sunspot cycle is nearing its most active point right now...

                    --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ

                    1 Reply Last reply
                    0
                    • D David Crow

                      What error (e.g., compiler, linker, exception, assertion)? What does the DDX statement look like? Is the variable present in the class' definition?


                      "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

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

                      C Offline
                      C Offline
                      CodeMak
                      wrote on last edited by
                      #10

                      // Dialog Data //{{AFX_DATA(CGCU) enum { IDD = IDD_DIALOG_GCUAPP }; CButton m_ImuRecord; CString m_ImuAzimuth; //}}AFX_DATA void CGCU::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CGCU) DDX_Control(pDX, IDC_BUTTON_IMU_REC, m_ImuRecord); DDX_Text(pDX, IDC_EDIT_IMU_AZ, m_ImuAzimuth); //}}AFX_DATA_MAP } there is no error when i declare a ddx_Text only for controls i'm getin error

                      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