Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006387 [JEDI VCL] 00 JVCL Components block always 2015-03-01 16:30 2015-09-21 17:47
Reporter sender View Status public  
Assigned To AHUser
Priority normal Resolution fixed  
Status resolved   Product Version Daily / GIT
Summary 0006387: JvHidControllerClass compile failed with Delphi 7
Description JvHidControllerClass compile failed with Delphi 7:
Error: JvHidControllerClass.pas(1661): Invalid typecast

line 1661:
Create(AOwner, TJvHidDeviceCreateError(nil)); // work around compiler issue with method overloading and method pointers

The compiler of Delphi 7 doesn't allow cast nil to "procedure of object".
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0021145)
sender (reporter)
2015-03-01 16:55

here is my simple solution to this issue:

constructor TJvHidDeviceController.Create(AOwner: TComponent);
var
  a: TJvHidDeviceCreateError;
  b: TNotifyEvent;
begin
  a := nil;
  b := nil;
  TJvHidDeviceController.Create(AOwner, a, b);
end;
(0021149)
AHUser (developer)
2015-03-11 19:39

This was fixed in 61374bf805c827e53cd75163cc6ebbe1487df45a

- Issue History
Date Modified Username Field Change
2015-03-01 16:30 sender New Issue
2015-03-01 16:55 sender Note Added: 0021145
2015-03-11 19:39 AHUser Note Added: 0021149
2015-03-11 19:39 AHUser Status new => resolved
2015-03-11 19:39 AHUser Fixed in Version => Daily / GIT
2015-03-11 19:39 AHUser Resolution open => fixed
2015-03-11 19:39 AHUser Assigned To => AHUser
2015-09-21 17:47 obones Fixed in Version Daily / GIT => 3.49


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker