rejetto forum

Hello, can anybody help me?

0 Members and 1 Guest are viewing this topic.

Offline gorghell

  • Occasional poster
  • *
    • Posts: 1
    • View Profile
Hello,
First of all, i want to start by saying that i'm not a programmer, but i'm trying to learn...
Now, could anybody help me out by telling me why i keep getting this error when i try to compile version 2.2 (i'm using Delphi 7).

Quote
[Warning] main.pas(875): Unsafe type 'Pointer'
[Warning] classesLib.pas(107): Unsafe type 'procedure, untyped pointer or untyped parameter'
[Warning] classesLib.pas(243): Unsafe code '@ operator'
[Warning] classesLib.pas(297): Unsafe code 'String index to var param'
[Warning] classesLib.pas(297): Unsafe code 'String index to var param'
[Warning] classesLib.pas(317): Unsafe code '@ operator'
[Warning] classesLib.pas(317): Unsafe code '@ operator'
[Warning] classesLib.pas(317): Unsafe code '@ operator'
[Error] classesLib.pas(383): Undeclared identifier: 'FileName'
[Error] classesLib.pas(383): Operator not applicable to this operand type
[Warning] classesLib.pas(410): Unsafe code 'String index to var param'
[Warning] classesLib.pas(436): Unsafe code 'String index to var param'
[Warning] classesLib.pas(436): Unsafe code 'String index to var param'
[Warning] classesLib.pas(587): Unsafe type 'procedure, untyped pointer or untyped parameter'
[Warning] classesLib.pas(605): Unsafe code '@ operator'
[Warning] classesLib.pas(695): Unsafe typecast of 'TObject' to 'Integer'
[Warning] classesLib.pas(703): Unsafe typecast of 'Integer' to 'TObject'
[Warning] classesLib.pas(713): Unsafe typecast of 'TObject' to 'Integer'
[Warning] classesLib.pas(715): Unsafe typecast of 'Integer' to 'TObject'
[Warning] classesLib.pas(829): Unsafe type 'PChar'
[Warning] classesLib.pas(834): Unsafe type 'bos: PAnsiChar'
[Warning] classesLib.pas(835): Unsafe type 'eosl: PAnsiChar'
[Warning] classesLib.pas(837): Unsafe type 'ptxt: PAnsiChar'
[Warning] classesLib.pas(838): Unsafe type 'ptxt: PAnsiChar'
[Warning] classesLib.pas(838): Unsafe type 'bos: PAnsiChar'
[Warning] classesLib.pas(839): Unsafe type 'bos: PAnsiChar'
[Warning] classesLib.pas(839): Unsafe type 'ptxt: PAnsiChar'
[Warning] classesLib.pas(840): Unsafe type 'bos: PAnsiChar'
[Warning] classesLib.pas(841): Unsafe type 'bos: PAnsiChar'
[Warning] classesLib.pas(841): Unsafe type 'bos: PAnsiChar'
[Warning] classesLib.pas(843): Unsafe type 'eosl: PAnsiChar'
[Warning] classesLib.pas(843): Unsafe type 'bos: PAnsiChar'
[Warning] classesLib.pas(844): Unsafe type 'eosl: PAnsiChar'
[Warning] classesLib.pas(844): Unsafe type 'eosl: PAnsiChar'
[Warning] classesLib.pas(844): Unsafe type 'bos: PAnsiChar'
[Warning] classesLib.pas(845): Unsafe type 'eosl: PAnsiChar'
[Warning] classesLib.pas(847): Unsafe type 'bos: PAnsiChar'
[Warning] classesLib.pas(850): Unsafe type 'eos: PAnsiChar'
[Warning] classesLib.pas(851): Unsafe type 'eos: PAnsiChar'
[Warning] classesLib.pas(851): Unsafe type 'eos: PAnsiChar'
[Warning] classesLib.pas(860): Unsafe type 'ptxt: PAnsiChar'
[Warning] classesLib.pas(860): Unsafe type 'bos: PAnsiChar'
[Warning] classesLib.pas(870): Unsafe type 'ptxt: PAnsiChar'
[Warning] classesLib.pas(870): Unsafe code 'String index to var param'
[Warning] classesLib.pas(874): Unsafe type 'eosl: PAnsiChar'
[Warning] classesLib.pas(875): Unsafe type 'bos: PAnsiChar'
[Warning] classesLib.pas(876): Unsafe type 'eos: PAnsiChar'
[Warning] classesLib.pas(877): Unsafe type 'bos: PAnsiChar'
[Warning] classesLib.pas(878): Unsafe type 'ptxt: PAnsiChar'
[Warning] classesLib.pas(879): Unsafe type 'ptxt: PAnsiChar'
[Fatal Error] optionsDlg.pas(127): Could not compile used unit 'classesLib.pas'

If anybody could tell me how to fix this it will be very apreciated...
Thanks.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13521
    • View Profile

Offline MarkV

  • Tireless poster
  • ****
    • Posts: 764
    • View Profile
The answer is given directly above your post: Your Delphi is too old.
http://worldipv6launch.org - The world is different now.


Offline buhui

  • Occasional poster
  • *
    • Posts: 2
    • View Profile
Thank you very much!
Actually I used the CodeGear Dephi 2009 and it shows errors,such as "File not found :'wscoket.dcu'",So I suppose it maybe my veision is new.I don't know how to solve it in the the newset version.Did you know?


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13521
    • View Profile
Thank you very much!
Actually I used the CodeGear Dephi 2009 and it shows errors,such as "File not found :'wscoket.dcu'",So I suppose it maybe my veision is new.I don't know how to solve it in the the newset version.Did you know?

that is because you didn't install the required libraries.
wsocket is a 3rd party library (that means, not included in delphi).
you could ask google first ;)


Offline buhui

  • Occasional poster
  • *
    • Posts: 2
    • View Profile
Thanks for your help and I solved the problem with Dephi 2006.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13521
    • View Profile
by default delphi stops on every exception, even those who are correctly handled.
you need to reconfigure this, to run without stopping.
i don't remember where is the option, surely among the options ;)