Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: Delphi5 build error
User948

Posts: 12
Member Since: 01/16/01
posted January 25, 2001 12:49 PM

Has this been encountered before...? I didn't see anything on the board.

This proc...

procedure TFtp.InitControlData;
const
 CEventDispIDs: array [0..2] of DWORD = (
  $00000006, $00000007, $00000008);
 CControlData: TControlData2 = (
  ClassID: '{39FDA070-61BA-11D2-AD84-00105A17B608}';
  EventIID: '{39FDA071-61BA-11D2-AD84-00105A17B608}';
  EventCount: 3;
  EventDispIDs: @CEventDispIDs;
  LicenseKey: @CLicenseKey;
  Flags: $00000000;
  Version: 401);
begin
 ControlData := @CControlData;
 TControlData2(CControlData).FirstEventOfs := Cardinal(@@FOnError) - Cardinal(Self);
end;

...causes error 'left side cannot be assigned to' in the 2nd line. Any help would be appreciated.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted January 25, 2001 2:09 PM


I'm not sure what this code is from. Do our samples exhibit the same problem?

In the future, please refrain from posting code that has your license number in it.

Thanks,

Tony Priest
Dart Tech Support
User948

Posts: 12
Member Since: 01/16/01
posted January 25, 2001 5:09 PM

The compiler option Assignable Typed Constants needs to be checked.
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX