Board index » delphi » Grabage collector emulation under Win32
mamcx
Delphi Developer |
Grabage collector emulation under Win322005-04-21 05:42:40 AM delphi250 Another developer is building the code necesary to put MUTIS (a Delphi.NET library) under Win32. Rigth now, all code asume garbage collector is present. I want a elegant&safe solution to have this code under both plataform. We are building a portable code layer to talk to NET&DelphiWin32 specific thing and the 80% rest of the code is only MUTIS. (Ps. If you want see cvs.sourceforge.net/viewcvs.py/mutis/Mutis/src/) A lot are only information.... but some are big classes with lot of subojects... How accomplish this? My first inclination is simply declare a ancestor to all objects (the vast mayority decend from TObject) like TInterfacedObject... and I assume this cover the issue. Obviously, i put the necesary destructor code, but I am forgetting something?? -- Mutis: The open source indexing/search engine for Delphi mutis.sourceforge.net/ (Alpha stage: Developers Wanted!) |