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

Problem in DDX

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

    Hi All, Do any one know abt problems in DDX. I can send data from Control to variable but when I tried to send data from variable to control my application get hangs. I had created the dialog using CreateIndirect method.

    H 1 Reply Last reply
    0
    • S sheshidar

      Hi All, Do any one know abt problems in DDX. I can send data from Control to variable but when I tried to send data from variable to control my application get hangs. I had created the dialog using CreateIndirect method.

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

      Whats error?

      _**


      **_

      WhiteSky


      S 2 Replies Last reply
      0
      • H Hamid Taebi

        Whats error?

        _**


        **_

        WhiteSky


        S Offline
        S Offline
        sheshidar
        wrote on last edited by
        #3

        I am not getting any error, I craeted Tab control dialog then i called two other dialogs in tab control using Create Indirect Method. I am able to enetered data in dialog boxe controls and I can send them in Database also, but when I try to send date to control from member variable application get hangs.

        1 Reply Last reply
        0
        • H Hamid Taebi

          Whats error?

          _**


          **_

          WhiteSky


          S Offline
          S Offline
          sheshidar
          wrote on last edited by
          #4

          Now application got abort and it had breaked and in debugging it showed below code. CStringData* GetData() const throw() { **--->** return( reinterpret_cast< CStringData* >( m_pszData )-1 ); } Can you pls explain what is meant by this.

          H 1 Reply Last reply
          0
          • S sheshidar

            Now application got abort and it had breaked and in debugging it showed below code. CStringData* GetData() const throw() { **--->** return( reinterpret_cast< CStringData* >( m_pszData )-1 ); } Can you pls explain what is meant by this.

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

            Hi sheshidar, Im not sure its your answer or no but see reinterpret_cast< CStringData[^]

            _**


            **_

            WhiteSky


            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