FindFile doesn't support Delphi 2009

Please post bug reports, feature requests, or any question regarding the DELPHI AREA products here.

FindFile doesn't support Delphi 2009

Postby smrwsmrw » August 27th, 2008, 12:04 am

FindFile doesn't support Delphi 2009, could you make a patch?

[Pascal Error] FindFile.pas(329): E2004 Identifier redeclared: 'Forms'
[Pascal Warning] FindFile.pas(330): W1005 Unit 'FileCtrl' is specific to a platform
[Pascal Warning] FindFile.pas(336): W1000 Symbol 'faVolumeID' is deprecated
[Pascal Warning] FindFile.pas(355): W1050 WideChar reduced to byte char in set expressions
[Pascal Error] FindFile.pas(367): E2010 Incompatible types: 'AnsiChar' and 'Char'
[Pascal Error] FindFile.pas(369): E2010 Incompatible types: 'Char' and 'AnsiChar'

[Pascal Warning] FindFile.pas(379): W1050 WideChar reduced to byte char in set expressions
[Pascal Warning] FindFile.pas(458): W1050 WideChar reduced to byte char in set expressions
[Pascal Warning] FindFile.pas(465): W1050 WideChar reduced to byte char in set expressions
[Pascal Warning] FindFile.pas(484): W1050 WideChar reduced to byte char in set expressions
[Pascal Warning] FindFile.pas(551): W1050 WideChar reduced to byte char in set expressions
[Pascal Warning] FindFile.pas(582): W1050 WideChar reduced to byte char in set expressions
[Pascal Warning] FindFile.pas(680): W1002 Symbol 'faArchive' is specific to a platform
[Pascal Warning] FindFile.pas(680): W1002 Symbol 'faReadOnly' is specific to a platform
[Pascal Warning] FindFile.pas(680): W1002 Symbol 'faHidden' is specific to a platform
[Pascal Warning] FindFile.pas(680): W1002 Symbol 'faSysFile' is specific to a platform
[Pascal Warning] FindFile.pas(698): W1002 Symbol 'faArchive' is specific to a platform
[Pascal Warning] FindFile.pas(698): W1002 Symbol 'faArchive' is specific to a platform
[Pascal Warning] FindFile.pas(700): W1002 Symbol 'faReadOnly' is specific to a platform
[Pascal Warning] FindFile.pas(700): W1002 Symbol 'faReadOnly' is specific to a platform
[Pascal Warning] FindFile.pas(702): W1002 Symbol 'faHidden' is specific to a platform
[Pascal Warning] FindFile.pas(702): W1002 Symbol 'faHidden' is specific to a platform
[Pascal Warning] FindFile.pas(704): W1002 Symbol 'faSysFile' is specific to a platform
[Pascal Warning] FindFile.pas(704): W1002 Symbol 'faSysFile' is specific to a platform
[Pascal Warning] FindFile.pas(716): W1002 Symbol 'faArchive' is specific to a platform
[Pascal Warning] FindFile.pas(718): W1002 Symbol 'faReadOnly' is specific to a platform
[Pascal Warning] FindFile.pas(720): W1002 Symbol 'faHidden' is specific to a platform
[Pascal Warning] FindFile.pas(722): W1002 Symbol 'faSysFile' is specific to a platform
[Pascal Warning] FindFile.pas(1194): W1002 Symbol 'FindData' is specific to a platform
smrwsmrw
Member
Member
 
Posts: 4
Joined: August 27th, 2008, 12:00 am

Postby Kambiz » August 27th, 2008, 1:42 pm

Of course not, because I don't have Delphi 2009. I'm sorry!
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Postby salim » September 8th, 2008, 8:52 pm

Yes Kambiz , we really need this greate component to be functional under Delphi 2009 , could you please make a Patch .


Regards
salim
Active Member
Active Member
 
Posts: 6
Joined: March 10th, 2008, 6:36 pm

Postby Kambiz » September 9th, 2008, 3:27 pm

I love to do that, but how can I do it without having Delphi 2009? :?
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Postby salim » September 24th, 2008, 9:30 pm

Kambiz wrote:I love to do that, but how can I do it without having Delphi 2009? :?


Thank you Kambiz , Delphi 2009 is out there ( available Now ) , could you please the Patch .

Many Thanks .
salim
Active Member
Active Member
 
Posts: 6
Joined: March 10th, 2008, 6:36 pm

Postby Kambiz » September 25th, 2008, 3:01 am

Where? Is it free?
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Postby Rony Gellaerts » September 25th, 2008, 11:11 am

Kambiz,

Maybe you can download the trial version for the time being and do the patch.

Rony
Rony Gellaerts
Member
Member
 
Posts: 1
Joined: September 25th, 2008, 6:46 am

Postby Kambiz » September 27th, 2008, 6:24 am

It could be a solution but look at the following blog post:
http://blog.marcocantu.com/blog/delphi2009trial.html

I also agree with that post, after Delphi 7 the Delphi help is useless.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Delphi 2009 Only Version of Find File

Postby w2m » September 27th, 2008, 1:51 pm

To easily compile FindFile.pas in Delphi 2009, change string to AnsiString, char to AnsiChar and PChar to PAnsiChar. Then change ALL string (now unicodestring) Windows API methods to AnsiString methods: ie- IsCharAlphaNumeric(C) to IsCharAlphaNumericA(C).

Once you do that it will compile and install, and function in Delphi 2009.
By changing to Ansi FindFile will not handle unicode strings however and it will not compile in Delphi versions other than Delphi 2009.

I can post the code here if Kambiz would like that.

Bill
w2m
w2m
Senior Member
Senior Member
 
Posts: 76
Joined: March 8th, 2003, 7:11 pm
Location: New York, USA

Postby Kambiz » September 28th, 2008, 3:28 am

Thanks Bill, it would be nice.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Findfile For Delphi 2009 will be posted to the next message.

Postby w2m » September 30th, 2008, 9:00 pm

The attached version of findfile will only compile with Delphi 2009.
The attached version does not support unicode.
w2m
w2m
Senior Member
Senior Member
 
Posts: 76
Joined: March 8th, 2003, 7:11 pm
Location: New York, USA

Findfile Attachment

Postby w2m » September 30th, 2008, 9:01 pm

Findfile Attachment
Attachments
FindFileDelphi2009Only.zip
(280.98 KiB) Downloaded 337 times
w2m
w2m
Senior Member
Senior Member
 
Posts: 76
Joined: March 8th, 2003, 7:11 pm
Location: New York, USA


Return to DELPHI AREA Products

Who is online

Users browsing this forum: No registered users and 1 guest

cron