Tuesday, September 07, 2004

Delphi 8 and .net 1.1 SP1

1) delete all *.dc* (BUT just make a copy of your $(BDS)\lib BEFORE deleting all the *.dc* files)in the $(BDS)\lib dir and $(BDS)\lib\debug dir (do not touch the other files eg. .resource, .res and .nfm files)

2) go to the $(BDS)\source dir and run the makefile file with "default" and "debug" options.
So from command prompt in the $(BDS)\source dir you run

"make default debug" (without the quotes)

3) delete all old *.dc* in you project dir and re-build.
4) in VCL projects you might still see issues but all you need to do is remove the references to the VCL assemblies in the project pane and then do a re-build of the project.
5) if you still see any compiler error, either remove the offending assembley from the references and do a re-build.


Blogger Hallvard Vassbotn said...

It is *not* recommended to use this hack - it will soon create more problems than they solve. See Danny Thorpe's blog:


8 October 2004 at 09:07  
Blogger Roy Nelson said...

Yes, it is correct. I have been using the hack ever since I posted it. Although it works, for non vcl.net applications. As soon as you try and access assemblies created with Delphi8 ??(I need to check that again) you will see more problems, you certainly cannot use VCL.NET assemblies. So we are all in a holding pattern until Danny sorts the compiler out but my guess would be a near full binary update of the Delphi/VCL assemblies would be required.

8 October 2004 at 09:17  
Blogger Roy Nelson said...

Oh one thing I should mention, was that some people cannot control what is rolled out to their machines, or cannot rollback a service pack (without a lot of explanation to thier IS departments)!

8 October 2004 at 09:23  

Post a Comment

<< Home