agree....lot's and lot's of water ... ;-)
Main Topics
Browse All TopicsHi, can you help.
Can't compile D2 program with ExcelXP in uses clause. Compiler error is 'Invalid compiler directive 'WARN'. When using ExcelXP in D7 there is no problem.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
guys,
I believe the OP is trying to say that he can compile the program with D7 but runs into a problem when he tries to compile it with D2.
@Vector7,
If my understanding is correct, it is rather like trying to open a Word 2007with a Word program that you had on your machine in 1996 . . . it just ain't gonna happen. ;-)
As with most development languages, not every aspect of a new version of the compiler is compatible with a previous version and certainly not a previous version that is 5 versions back.
I don't think D2 ever knew that XP existed . . . D2 was somewhat before XP's time. Therefore, there are no provisions in D2 for working with XP products unless you import a library (and, even then, you may find that it just won't work).
Business Accounts
Answer for Membership
by: epasquierPosted on 2009-11-04 at 05:22:09ID: 25738990
a lot of water flew under the bridges since D2.
You are compiling a D2 application with D7, maybe some WARN directives no longer apply. You can probably simply removes them.
Tell us :
- which WARN directive cause you problems, in which unit (proprietary one or Delphi or 3rd party)
- what does your program do with ExcelXP. It didn't exist at this time, so a little explanation might help