View Issue Details

IDProjectCategoryView StatusLast Update
0004175JEDI VCL00 JVCL Componentspublic2007-10-15 05:13
ReporterdanilopiazzaAssigned Toobones 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.32 
Target VersionFixed in Version3.34 
Summary0004175: JvBrowseFolder: compiler errors with BCB5 on PItemIDList type
DescriptionI am not sure whether this is a bug in JVCL more than a bug in C++ Builder 5 compiler, but it just looks like one of the possible errors mentioned in BCB Compatiblity Guide.

When I use TJvBrowseForFolderDialog I get compiler errors in JvBrowseFolder.hpp:

[C++ Error] JvBrowseFolder.hpp(171): E2347 Parameter mismatch in read access specifier of property Pidl

The relevant header code, briefly summarized, is like this:

class PASCALIMPLEMENTATION TJvBrowseForFolderDialog : public Jvbasedlg::TJvCommonDialogF
{
private:
    _ITEMIDLIST *FPidl;
public:
    __property Shlobj::PItemIDList Pidl = {read=FPidl};
};

As Shlobj::PItemIDList is actually a typedef for _ITEMIDLIST *, I can work around the problem by simply replacing the property declaration
with

    __property _ITEMIDLIST *Pidl = {read=FPidl};

Regards,
Danilo
Additional InformationUsing Borland C++ Builder 5
TagsNo tags attached.

Activities

obones

2007-10-15 05:12

administrator   ~0013967

This is now in SVN.

Issue History

Date Modified Username Field Change
2007-07-11 04:07 danilopiazza New Issue
2007-07-11 06:54 obones Status new => assigned
2007-07-11 06:54 obones Assigned To => obones
2007-10-15 05:12 obones Status assigned => resolved
2007-10-15 05:12 obones Fixed in Version => Daily / SVN
2007-10-15 05:12 obones Resolution open => fixed
2007-10-15 05:12 obones Note Added: 0013967