ODAC custom field types not working at design-time in C++Builder
Posted: Wed 15 Aug 2007 07:40
Whether usage of components
at design-time in C++Builder (version 6, and possible others) was tested? Or it should work only "theoretically"?
After I have added to dataset the field of type TOraTimeStampField such form does not wish to open by IDE (C++Builder 6); though it is compiled successfully. At careful studying the possible reasons it has been found, that ODAC library does not register any types of fields which list is resulted above.
All ODAC packages (.bpl) have been registered by me as is specified in a installation instructions. Only one version of ODAC library (6.10.1.10) is installed in system, and paths to packages are checked carefully, and also any "conflicts" should not be (with old or packages of another versions).
I have registered the specified fields classes "manually", i.e. have executed (for IDE):After that the form with fields of type TOraTimeStampField (and others) opens successfully!
The same problem seems was described in the message "Class TOraNumberField not found. Ignore the error and continue?" and till now has not been solved (since December 2005)...
Code: Select all
TCursorField
TBFileField
TOraDataSetField
TOraReferenceField
TOraTimeStampField
TOraIntervalField
TOraNumberField
TOraXMLFieldAfter I have added to dataset the field of type TOraTimeStampField such form does not wish to open by IDE (C++Builder 6); though it is compiled successfully. At careful studying the possible reasons it has been found, that ODAC library does not register any types of fields which list is resulted above.
All ODAC packages (.bpl) have been registered by me as is specified in a installation instructions. Only one version of ODAC library (6.10.1.10) is installed in system, and paths to packages are checked carefully, and also any "conflicts" should not be (with old or packages of another versions).
I have registered the specified fields classes "manually", i.e. have executed (for IDE):
Code: Select all
RegisterClass(TCursorField);
RegisterClass(TBFileField);
RegisterClass(TOraDataSetField);
RegisterClass(TOraReferenceField);
RegisterClass(TOraTimeStampField);
RegisterClass(TOraIntervalField);
RegisterClass(TOraNumberField);
RegisterClass(TOraXMLField);The same problem seems was described in the message "Class TOraNumberField not found. Ignore the error and continue?" and till now has not been solved (since December 2005)...