DATETIMEPICKER
-
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 :)
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. ** -
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. ** -
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. ** -
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. ** -
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. ** -
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 :)
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.
-
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. **