View Issue Details

IDProjectCategoryView StatusLast Update
0006387JEDI VCL00 JVCL Componentspublic2015-09-21 17:47
ReportersenderAssigned ToAHUser 
PrioritynormalSeverityblockReproducibilityalways
Status resolvedResolutionfixed 
Product VersionDaily / GIT 
Target VersionFixed in Version3.49 
Summary0006387: JvHidControllerClass compile failed with Delphi 7
DescriptionJvHidControllerClass 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".
TagsNo tags attached.

Activities

sender

2015-03-01 16:55

reporter   ~0021145

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;

AHUser

2015-03-11 19:39

developer   ~0021149

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