I have installed Delphi/CBuilder 2009. Now, when opening Delphi 2007, I get a "Can't load package" error message for all the DevExpress packages - as per the attached screenshot. When I uninstall Delphi 2009, Delphi 2007 opens fine with all the DevExpress packages.
We have closed this ticket because another page addresses its subject:
Delphi cannot load DX BPLs
Hi Angus,
I'll discuss this problem with our developers. Give us a little time.
Thanks,
Dimitros
Hi Angus,
A possible cause of the problem is the long path name of the directory where our components are installed. Please try to install them to another directory. (for example to the "C:\DXVCL" path)
Also, you're using an older build of our components. Please visit our version info page at http://www.devexpress.com/Support/Versions.xml, to learn about the most recent versions of our products, and obtain instructions on how to update them.
Also, the problem can occur if you install a beta version of the CodeGear Delphi 2009. Please check that you use the most recent version.
Thanks,
Dimitros
I've uninstalled Delphi 2009, updated your components to release 39 and installed them in c:\DevExpress\ Now the same problem happens when I open Delphi 2007. The Delphi 2007 version is: 11.0.2902.10471
Hi Angus,
Did you previously install Tiburon FT on this machine?
Thanks,
Serge
No, the version I downloaded was after D2009 was officially released.
Thank you for the clarification, Angus. Then, the problem may occur if the IDE cannot resolve paths in the PATH environment variable (expecially on Vista machines). Please read report Q90529 ("Delphi cannot load DX BPLs"), which describes how to workaround this problem.
Does this make sense?
By the way, installing Vista SP1 may be the key to the solution. Take a look at report CB53726 ("Setup 27 - DevExpress packages are missing").
Thanks,
Serge
Thanks for those suggestions.
I do already have SP1 installed. After re-installing D2009, I changed the DXVCL variable in the PATH variable to the full directory path for the DX library. However I am still getting the same error with D2007. However D2009 runs fine with the DX components.
I will try and investigate further at a later stage. In the meantime, I have copied the D2007 BPL's to the System 32 directory and D2007 loads the DX components.
Angus Miller
Hi Angus,
We're glad to hear about your progress regarding Delphi 2009, but the situation with Delphi 2007 looks even more stranger. From my point of view, there seems to be a flaw in the IDE itself, if it cannot resolve the PATH environment variable. Perhaps, the released version of D2009 also conflicts with D2007 in some manner. I recommend that you try to Repair your D2007 installation. Perhaps, this will do the trick.
Thanks,
Serge