I get [Warning] Unsafe typecast messages for these statements
D:=integer(ListM.Objects[k]);
...
ListM.Objects[k]:=TObject(D);
The program works fine. The question is what are [Warnings]
all about?
You can safely ignore this warning (and disable it in the compiler warning
tab in the project options).
This warning is telling you that the typecast you are doing is not available
in all operating systems or environments (for example .NET). If you are
programming for win32, there is no problem. If you plan someday to port your
code to .NET, it is likely you'll go into trouble at that moment.
--
[email protected]
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be
__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk