View Issue Details

IDProjectCategoryView StatusLast Update
0004442JEDI VCL00 JVCL Componentspublic2008-09-08 01:36
ReporterMarkElderAssigned Toobones 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionDaily / GIT 
Target VersionFixed in Version3.35 
Summary0004442: Active Directory Object Picker in JvObjectPickerDialog.pas will not run on Windows Vista
DescriptionActive Directory Object Picker in JvObjectPickerDialog.pas will not run on Windows Vista. An error "The parameter is incorrect." is raised when Execute is called.
Additional InformationThis is caused by this line:
725 HRes := FObjectPicker.InvokeDialog(0, DataObj);

The first paramater is a handle to the parent. This worked OK with a 0 on Windows XP but a valid window handle is required by Windows Vista.

From MSDN Help (http://msdn.microsoft.com/en-us/library/ms677102.aspx)
  Syntax
    HRESULT InvokeDialog(
      HWND hwndParent,
      IDataObject** ppdoSelections);

  Parameters
  hwndParent
      Handle to the owner window of the dialog box. This parameter cannot be NULL or the result of the GetDesktopWindow function.

TagsNo tags attached.

Activities

obones

2008-09-08 01:36

administrator   ~0014551

This is now fixed in SVN, Application.Handle is used

Issue History

Date Modified Username Field Change
2008-09-05 11:36 MarkElder New Issue
2008-09-08 01:36 obones Status new => resolved
2008-09-08 01:36 obones Fixed in Version => Daily / SVN
2008-09-08 01:36 obones Resolution open => fixed
2008-09-08 01:36 obones Assigned To => obones
2008-09-08 01:36 obones Note Added: 0014551