[EMAIL PROTECTED] wrote: > For some of my clients I give the Delphi source-code for there internal > programmers to work with. > I've a problem where some of them are still trying to open the source-code in > Delphi 5.0 or even 3.0 (!!) Is there a way that I can set the Delphi > source-code so that it will only open in Delphi 6 onwards? Maybe giving > them a error if trying to open in Delphi 5.0 for example?
If the code really won't work with a lower version of Delphi, then there's nothing you need to do. The other developers will learn that it doesn't work the first time they try to compile it, which will probably be only moments after the first time they open it. Therefore, you'd really not save them anything by preventing them from opening it. What's wrong with the lower versions? There were no significant changes to the language between versions 5 and 6, so anything that compiled in version 6 should be able to compile in version 5, too. There might be some missing functions, or some re-organized units, but those are easy to resolve. As long as you're saving your DFM files as text, Delphi 5 should be able to open them, too. Delphi 6 might have introduced some additional properties to the DFM that Delphi 5 won't recognize, but Delphi can be told to ignore those when opening the file. Delphi 3 may indeed have big problems handling newer code, but as I said before, the Delphi 3 user will figure that out very quickly, and it probably already aware of version 3's shortcomings from using others' software. -- Rob ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

