?
Solved

Netware Lib for Delphi

Posted on 2003-03-11
2
Medium Priority
?
266 Views
Last Modified: 2010-04-06
I'm using Delpi 5 Enterprise UpdatePack 1.

I downloaded the "Delphi Libraries for Novell Services".
In Delphi I put in the EnvironmentOptions->LibraryDirectory
both "C:\Novell\Libraries\Delphi\Lib" and "C:\Novell\Libraries\Delphi\Src"

When I try to compile the Sample I get these Errors
[Fehler] NTypes.pas(21): Ungültige Compileranweisung: 'WARN'
[Fehler] NTypes.pas(22): Ungültige Compileranweisung: 'WARN'
[Fataler Fehler] NDSLoginImpl.pas(7): Verwendete Unit 'Ntypes.pas' kann
nicht compiliert werden


translation:
[ error ] NTypes.pas(21): Invalid compiler statement:  'WARN'
[ error ] NTypes.pas(22): Invalid compiler statement:  'WARN'
[ fatal error ] NDSLoginImpl.pas(7): Used unit 'Ntypes.pas' cannot be
compiled



unit NTypes;
       {$WARN  SYMBOL_PLATFORM  OFF}
        {$WARN  UNIT_PLATFORM  OFF}


What is wrong?

I also tried to get some Documentation about it, but didn't found.
Only References about the Functions; but I need something like a How to ...
0
Comment
Question by:paulmartin14
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
sfock earned 375 total points
ID: 8114587
You'll need a higher version of delphi to compile this.

Delphi 5 does not know this compiler directve, delphi 7 does I am not sure about D6.

If you don't have D7 and/or can't get it take a look at the help for the Lib probably they have a D5 version or give hints what to do in D5 if it works at all
0
 
LVL 9

Expert Comment

by:mocarts
ID: 8115055
these are compiler directives to turn off compiler warnings.
you can safely delete them, but yow never will be sure how safe is code of compiled units (if compiles) as they are designed for delphi 7.
mo.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses
Course of the Month9 days, 6 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question