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
0005967 [JEDI VCL] 00 JVCL Components crash always 2012-08-27 19:15 2013-06-15 15:30
Reporter Kendall Rogers View Status public  
Assigned To AHUser
Priority normal Resolution fixed  
Status resolved   Product Version 3.45
Summary 0005967: Access Violation 00000000 using any function in SetupApi or HID
Description When trying various function calls in SetupAPI or HID I immediately hit an access violation. Using code found in the following examples: [^] [^]

I run into this error while running the code in either 2007 or XE. I can also reproduce this very simply with the following code in the additional information section.
Additional Information unit Unit1;


  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls;

  TForm1 = class(TForm)
    Button1: TButton;
    procedure Button1Click(Sender: TObject);
    { Private declarations }
    { Public declarations }

  Form1: TForm1;


{$R *.dfm}

  SetupAPI, HID;

procedure TForm1.Button1Click(Sender: TObject);

Tags No tags attached.
Attached Files

- Relationships

-  Notes
AHUser (developer)
2013-05-25 18:06

You need to call "LoadHid" before using any HID function.

The SetupAPI unit was renamed to JvSetupAPI, so you may use an outdated SetupAPI.dcu if there is one on your library path (and you have a JVCL version where the renaming was done)

- Issue History
Date Modified Username Field Change
2012-08-27 19:15 Kendall Rogers New Issue
2013-01-15 15:23 obones Status new => acknowledged
2013-05-25 18:06 AHUser Note Added: 0020519
2013-05-25 18:06 AHUser Assigned To => AHUser
2013-05-25 18:06 AHUser Status acknowledged => feedback
2013-06-15 15:30 AHUser Status feedback => resolved
2013-06-15 15:30 AHUser Resolution open => fixed

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