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

DATETIMEPICKER

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
8 Posts 3 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.
  • D Offline
    D Offline
    Drawil
    wrote on last edited by
    #1

    hello every body when i tried to add a member variable for a datetimepicker the following error happen:'DDX_FieldDateTimeCtrl' : undeclared identifier how can i avoid this error. any help Best Regards :)

    T L 2 Replies Last reply
    0
    • D Drawil

      hello every body when i tried to add a member variable for a datetimepicker the following error happen:'DDX_FieldDateTimeCtrl' : undeclared identifier how can i avoid this error. any help Best Regards :)

      T Offline
      T Offline
      Tomasz Sowinski
      wrote on last edited by
      #2

      Do you have #include <afxdtctl.h> in stdafx.h? Tomasz Sowinski -- http://www.shooltz.com
      ** If you're going to rape, pillage and burn, be sure to do things in that order. **

      D 1 Reply Last reply
      0
      • T Tomasz Sowinski

        Do you have #include <afxdtctl.h> in stdafx.h? Tomasz Sowinski -- http://www.shooltz.com
        ** If you're going to rape, pillage and burn, be sure to do things in that order. **

        D Offline
        D Offline
        Drawil
        wrote on last edited by
        #3

        yes i have this include file Best Regards :)

        T 1 Reply Last reply
        0
        • D Drawil

          yes i have this include file Best Regards :)

          T Offline
          T Offline
          Tomasz Sowinski
          wrote on last edited by
          #4

          I've just noticed that 'Field' in DDX_FieldDateTimeCtrl. AFAIK, there's no such thing, at least in VC6. Are you adding this manually or with ClassWizard? Tomasz Sowinski -- http://www.shooltz.com
          ** If you're going to rape, pillage and burn, be sure to do things in that order. **

          D 1 Reply Last reply
          0
          • T Tomasz Sowinski

            I've just noticed that 'Field' in DDX_FieldDateTimeCtrl. AFAIK, there's no such thing, at least in VC6. Are you adding this manually or with ClassWizard? Tomasz Sowinski -- http://www.shooltz.com
            ** If you're going to rape, pillage and burn, be sure to do things in that order. **

            D Offline
            D Offline
            Drawil
            wrote on last edited by
            #5

            It's added with ClassWizard and I work VC6. Best Regards :)

            T 1 Reply Last reply
            0
            • D Drawil

              It's added with ClassWizard and I work VC6. Best Regards :)

              T Offline
              T Offline
              Tomasz Sowinski
              wrote on last edited by
              #6

              KB article Q195073 has the solution for your problem - you'll have to manually change DDX_FieldDateTimeCtrl to DDX_DateTimeCtrl Tomasz Sowinski -- http://www.shooltz.com
              ** If you're going to rape, pillage and burn, be sure to do things in that order. **

              D 1 Reply Last reply
              0
              • D Drawil

                hello every body when i tried to add a member variable for a datetimepicker the following error happen:'DDX_FieldDateTimeCtrl' : undeclared identifier how can i avoid this error. any help Best Regards :)

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #7

                BUG: Error C2065: 'DDX_FieldDateTimeCtrl': Undeclared Identifier Q195073 -------------------------------------------------------------------------------- The information in this article applies to: Microsoft Visual C++, 32-bit Enterprise Edition, version 6.0 -------------------------------------------------------------------------------- SYMPTOMS When using the Date Time Picker Control in a Microsoft Visual C++ 6.0 AppWizard (exe) Database project, you may receive the following error: Compiler Error "Error C2065: 'DDX_FieldDateTimeCtrl' : undeclared identifier" CAUSE The database dialog data exchange cover routine generated by the Microsoft Visual C++ 6.0 AppWizard for exchanging data between the Date Time Picker control and the recordset member variable is DDX_FieldDateTimeCtrl( ). This function is omitted from the Visual C++ 6.0 release code. RESOLUTION Replace the database dialog data exchange cover routine DDX_FieldDateTimeCtrl( ) with the AFXAPI DDX_DateTimeCtrl( ). Remove the fourth parameter in the DDX_DateTimeCtrl() call. STATUS Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.

                1 Reply Last reply
                0
                • T Tomasz Sowinski

                  KB article Q195073 has the solution for your problem - you'll have to manually change DDX_FieldDateTimeCtrl to DDX_DateTimeCtrl Tomasz Sowinski -- http://www.shooltz.com
                  ** If you're going to rape, pillage and burn, be sure to do things in that order. **

                  D Offline
                  D Offline
                  Drawil
                  wrote on last edited by
                  #8

                  hi Tomasz thanx , it's working now best regards :) Best Regards :)

                  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