Left Side cannot be assigned

From: Richard (rwskinner)
Date: 10/28/04

  • Next message: Jud McCranie: "Re: Left Side cannot be assigned"
    Date: Wed, 27 Oct 2004 18:53:05 -0500
    
    

    Now why is this standard function code failing in Delphi 7 - Left Side
    cannot be assigned to? Is it a compiler option or something?

    Var
       IOCTL_Storage_Check_Verify : Integer;

     function Ctl_Code(DeviceType, FuncNo, Method, Access: integer): integer;
      begin
        Result:= (DeviceType shl 16) or (Access shl 14) or (FuncNo shl 2) or
    (Method);
      end;

      IOCTL_Storage_Check_Verify := Ctl_Code(IOCTL_Storage_Base, $0200,
    Method_Buffered, File_Read_Access);

    ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
    http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
    ---= East/West-Coast Server Farms - Total Privacy via Encryption =---


  • Next message: Jud McCranie: "Re: Left Side cannot be assigned"

    Relevant Pages

    • Re: GetComputerName
      ... > - Delphi allows us to send it to APIs as a PChar ... > Some APIs perform differently between versions of Windows ... > Reporting the result of GetLastError is a pretty generic task ...
      (alt.comp.lang.borland-delphi)
    • Re: Question: how to read any one character from keyboard
      ... Doesn't anyone use Delphi anymore? ... the user at one point to "press any key" (it's a console app and this ... The help says that if you use Read with a Char var, ...
      (alt.comp.lang.borland-delphi)
    • Re: Generics for Delphi
      ... fVaribale: Array of Integer; ... Unfortunately, I can see the similarity, but that doesn't mean I have to like it :-) This is the point I am trying to make about matching generic delegate types to handlers; I can see unwanted complexity about to rear its ugly head :-( I must admit that things like this have always put me off Pascal from before I ever saw Delphi; it was only the superb Delphi IDE that "encouraged" me to use Pascal in the first place. ... public class MyClass<typeT>: MyClass ...
      (borland.public.delphi.non-technical)
    • Re: C++ to Delphi, HELP !!!
      ... I think this is a Delphi implementation of the BluffTitler C++ ... PtrData: PCopyDataStruct; ...
      (alt.comp.lang.borland-delphi)
    • Re: C++ to Delphi, HELP !!!
      ... I think this is a Delphi implementation of the BluffTitler C++ ... PtrData: PCopyDataStruct; ...
      (alt.comp.lang.borland-delphi)