 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Tony Caduto Guest
|
Posted: Sat Mar 17, 2007 10:51 pm Post subject: Delphi 2007 and Virtual Tree View |
|
|
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
|
Posted: Wed Mar 21, 2007 7:12 pm Post subject: Re: Delphi 2007 and Virtual Tree View |
|
|
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 |
|
 |
|
|
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
|
|