View Issue Details

IDProjectCategoryView StatusLast Update
0004476JEDI API & WSC Librarypublic2008-09-25 08:23
ReporterroasterAssigned ToChristianWimmer 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionnot fixable 
Summary0004476: Wrong parameter in UrlIsFile from JwaShlWAPI
DescriptionI've just compiled the JWA units in Delphi 2009 and encountered an issue
with function UrlIsFileUrl(pszURL: PAnsiChar): BOOL;

The implementation says:
function UrlIsFileUrl(pszURL: PTSTR): BOOL;

The compiler complaints at this line about a missing overload statement.

Solution seems to be: change PAnsiChar to PTSTR in the interface.
TagsNo tags attached.

Activities

roaster

2008-09-24 03:32

reporter   ~0014655

Please change Category to General API

Thanks,
Michael

ChristianWimmer

2008-09-24 05:23

administrator   ~0014658

Please tell me the version (trunk or 2.2a?) and revision of the source file.

The original headers from 2.2a download have the correct declaration
function UrlIsFileUrlA(pszURL: PAnsiChar): BOOL;
function UrlIsFileUrlW(pszURL: PWideChar): BOOL;
function UrlIsFileUrl(pszURL: PTSTR): BOOL;
and I could not find an error with D2009.

roaster

2008-09-24 23:58

reporter   ~0014674

Hi,

I've used the download version 2.2a. Perhaps I messed up already too much in the source. And yes, I've just checked the downloaded ZIP again and indeed it contains the correct declarations.

I guess you can safely close this ticket now.
Thanks,
Michael

Issue History

Date Modified Username Field Change
2008-09-24 03:28 roaster New Issue
2008-09-24 03:32 roaster Note Added: 0014655
2008-09-24 05:07 ChristianWimmer Status new => assigned
2008-09-24 05:07 ChristianWimmer Assigned To => ChristianWimmer
2008-09-24 05:23 ChristianWimmer Note Added: 0014658
2008-09-24 23:58 roaster Note Added: 0014674
2008-09-25 08:22 ChristianWimmer Status assigned => resolved
2008-09-25 08:22 ChristianWimmer Resolution open => not fixable