BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Delphi 2007 and Virtual Tree View

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Upgrade
View previous topic :: View next topic  
Author Message
Tony Caduto
Guest





PostPosted: Sat Mar 17, 2007 10:51 pm    Post subject: Delphi 2007 and Virtual Tree View Reply with quote



Delphi 2007 refuses to compile/install VT from source via the IDE.
it insists on removing itself and if you say yes it produces a nice AV.

apparently you can compile it from the command line compiler while the
IDE is not running.

I was able to install it via the compiled bpls from BDS2006.

Later,


--
Tony Caduto
AM Software Design
Home of Lightning Admin for PostgreSQL and MySQL
http://www.amsoftwaredesign.com
Back to top
Colin
Guest





PostPosted: Wed Mar 21, 2007 7:12 pm    Post subject: Re: Delphi 2007 and Virtual Tree View Reply with quote



Hi Tony,


Quote:
Delphi 2007 refuses to compile/install VT from source via the IDE.
it insists on removing itself and if you say yes it produces a nice AV.

Yes - I get this too.

I think the trick is...

1. Delete any .dproj and .dproj.local files for VirtualTreesD10D that
D 2007 has created.

2. Edit VirtualTreesD10D.dpk (eg. with notepad), and remove the line
that says:

{$R '..\Design\VirtualTrees.dcr'}

3. You should know be able to open the package in D2007 and compile/
install it correctly.

It seems that, for some reason, if the .dpk file has a {$R component
resource file} statement in it, the bds2006->delphi 2007 project
converter incorrectly(?) adds the file to the 'Contains' clause.

In this case it adds VirtualTrees.dcr to the contains clause, and
because the runtime package also contains a VirtualTrees file (albeit
a .pas one) you get the error popup warning about duplicate units -
followed by a crash when it all gets its knickers in a knot.

--
Colin
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Upgrade All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.