Could someone describe for me the steps in order to do this? When I complete
the "Install" and afterwards place a TnTButton component on a form I get
"This application has failed to stare because TMSUnicodeC2007.bpl was not found.
Re-installing the application may fix this problem."
> "This application has failed to stare because TMSUnicodeC2007.bpl was not
> found.
> Re-installing the application may fix this problem."
Is the directory where the .bpl resides in the system PATH?
--
David Dean (CodeGear)
Lead C++ QA Engineer
No I guess that is it. I did not have to do this for Delphi 7... Or was it just done for me? Also I
don't want the final compiled .exe to have .bpl dependencies.
Correction, no that did not fix it. What could I possibly be doing wrong? I have installed
components for years with Delphi 7. What are the differences in C++ Builder?
> I don't want the final compiled .exe to have .bpl dependencies.
Simply disable the project's "Build with runtime packages" option.
Gambit
This is as I thought. I have done this at C++ Builder's base option (before creating any project).
Does anyone have a Virtual PC to test what I am seeing?
1. Install C++ Builder 2007
2. Open C++ Builder and for both debug and Release uncheck the following:
. Project / Options / Linker / Linking / Uncheck "Use dynamic RTL"
. Project / Options / Packages / Uncheck "Build with runtime packages"
3. Install TMS Component Pack (both with and without RTL I have tried both)
4. Open up any new project and try to drop a TMS Button component.
5. Bang there is the error...
bpl is needed to display component in design time on the form. It has
nothing to do with your compiled executable. So make sure bpl is
available in PATH enviroment variable or in some other way to the ide.
> Correction, no that did not fix it. What could I possibly be doing wrong? I
> have installed
> components for years with Delphi 7. What are the differences in C++ Builder?
I don't believe this is a C++ specific issue. It is the IDE that
needs the .bpl. If you have the full studio, are you able to use the
components in Delphi?
I think I stumbled upon fixing it. Here is the issue:
1. I did not have in the %path% the directory to the .bpl
2. For some reason (issue with the "Install" portion of TMS) the component path was adding a ".\"
That is a period followed by a slash.
So I had to remove the components and then re-add them.
Thanks for everyone's help.
Just one question. Do I need to do a debug and release compile for the components? The install
help file does not mention this...
To all who are following along I have it working now. I appreciate all the hard work
the TMS developers have done. Somewhat better installation instruction should
be in order..
1. I am very new to C++ Builder but not C++, Delphi, or programming in general.
2. The "install" script or whatever for TMS does not add to the path the .bpl nor do the
instructions state that one should. Perhaps all C++ Builder experts know this?
3. The "install" script for TMS modifies the path to it's current directory by appending
a ".\". That is a period following by a slash.
4. After running the install script you must from the File menu choose "Component
Install Packages" then uninstall TMS. Shutdown C++ Builder, Open C++ Builder and
then add it. Now the path is correct.
5. Add to the windows %path% the directory to the "TMSUnicodeC2007.bpl" file.
6. I am logged in as a limited user so perhaps the install script would have updated the path
otherwise.