I have an application that loads DLLs it can find (after checking they are the right type...). Both app and DLLs are developed by myself. The app passes the Application variable to the DLLs and receives a reference to an object created by the DLL. The app e.g. calls methods of these objects. I build with run-time packages and have ShareMem as the first 'used' unit in the .dpr files. This was all done in Delphi 4
All went fine so far. Now I try to develop a new DLL, but in Delphi 5 this time. I get some weird problems in the main app, like for loops going beyond the upper bound.
Is this what I have to expect when using this approach and combining a Delphi 4 app with DLLs built in a different Delphi version? And how about DLLs built in C++ Builder?
If so, what do I have to change to make it work for different versions of app and DLL? I can not simply rebuild every time a new DLL is developed, since they may come from many different persons (and companies)