Untyped file declaration throws an error
There may be an easy answer to this, but I've searched for a couple of hours with no luck at all.
I'm using Delphi 8, and I'm trying to read a binary file. When I try to declare a variable as an untyped file, as in...
myFile : File;
I get an error... "Unsupported Language Feature: 'typed or untyped file'"
My uses are;
System.Drawing, System.Collections, System.ComponentModel,
System.Windows.Forms, System.Data, Dialogs, System.IO,
Messages, SysUtils, Classes, Graphics, Controls, Forms,
StdCtrls, ExtCtrls, FileCtrl, System.Resources;
I know that is a lot of unnecessary uses, but I'm a newbie to Delphi and I was trying to see if something was missing from the uses section.
Thanks - Hop
Try qualifying the namespace explicitly perhaps?
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
"I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo