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
0004175 [JEDI VCL] 00 JVCL Components minor always 2007-07-11 04:07 2007-10-15 05:13
Reporter danilopiazza View Status public  
Assigned To obones
Priority normal Resolution fixed  
Status resolved   Product Version 3.32
Summary 0004175: JvBrowseFolder: compiler errors with BCB5 on PItemIDList type
Description I 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 Information Using Borland C++ Builder 5
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0013967)
obones (administrator)
2007-10-15 05:12

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


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