Board index » delphi » DLL or Packages: Shared Classes? HELP!
Richard Carruthers
![]() Delphi Developer |
Tue, 17 Feb 2004 03:21:06 GMT
DLL or Packages: Shared Classes? HELP!
I have an app that I need to be modular, in that it needs to support
multiple DataEngine Objects. Each DataEngine is responcible for maintaining a common interface (or course), but implement entirely different behavior. I had the whole thing setup and working (I thought) until I hit this snag: Main EXE uses Unit A, and GenericDataEngine Unit; DLL creates a Descendant Class of GenericDataEngine, thus GenericDataEngine Now this DLL procedure fails, even if OBJ is UnitAType: Function IsParamMyObj(Obj:TObject):Boolean; I believe this is because the DLL and the App have different class Anyone have any Ideas... I'm pretty desperate here - my entire OO design |