Bug with package
Posted: Mon 01 Oct 2007 13:16
odac version 6.10 & 6.20, Delphi 5 Update Pack 1
I use unit OdacVcl in two OCX.
If I compile both OCX without package (vcl50.bpl) all work fine.
If I compile both OCX with package (vcl50.bpl, but without odac50.bpl) - I get error:
Project ... raised exception class EFilerError with message 'A class named TCursorField alredy exists'.
I suggest that error in unit Ora.pas (procedure RegisterFieldClasses).
[You check Delphi variable IsLibrary in order to run register class single. But this variable can be False in OCX compiled with package]
I use unit OdacVcl in two OCX.
If I compile both OCX without package (vcl50.bpl) all work fine.
If I compile both OCX with package (vcl50.bpl, but without odac50.bpl) - I get error:
Project ... raised exception class EFilerError with message 'A class named TCursorField alredy exists'.
I suggest that error in unit Ora.pas (procedure RegisterFieldClasses).
[You check Delphi variable IsLibrary in order to run register class single. But this variable can be False in OCX compiled with package]