Hi,
I'm moving my stuff to XE2 and have installed Richview using the delphi projects for XE2 in RAD Studio. I checked that the compilation will generate all C++Builder files for Release and Debug environments.
Did a Clean->Build->Install without errors.
Problem now: When I create a new C++Builder VCL Form app and drop a RichView on it, the compiler wants RichView.obj which is nowhere to be found on my system. Now, in the install text it is mentioned that the install can only be either for Delphi OR C++Builder.
Does this mean that the above approach does not work? ( I thought this was comatible and would run any Delphi component in a C++Builder environment..)
Thanks,
Johann
Richview.obj ? Install on XE2..
-
- Site Admin
- Posts: 17571
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
When you install RVPkgDXE2.dproj, OBJ files are not generated separately, but they are assembled in RVPkgDXE2.lib. This library is created in <Common Documents>\RAD Studio\9.0\Dcp\ folder.
Normally, C++Builder adds a reference to the library automatically to the project, if you use TRichView components.
If it does not, the only way is to do it manually. Open the project source (cbproj file) in Notepad, find <LinkPackageStatics> and <AllPackageLibs>, and add RVPkgDXE2.lib there.
(probably this operation is possible in the project options in C++Builder IDE, but I am not sure).
Normally, C++Builder adds a reference to the library automatically to the project, if you use TRichView components.
If it does not, the only way is to do it manually. Open the project source (cbproj file) in Notepad, find <LinkPackageStatics> and <AllPackageLibs>, and add RVPkgDXE2.lib there.
(probably this operation is possible in the project options in C++Builder IDE, but I am not sure).
-
- Posts: 8
- Joined: Fri Apr 29, 2011 11:49 pm
-
- Posts: 8
- Joined: Fri Apr 29, 2011 11:49 pm
Ok, I added the lib to the AllPackages section. This results in a linker error that the RVTABLE.RES and RVSTYLE.RES cannot be found.
So I think these must be added somewhere as well..
I tried to compile the CBuilder version of the component, but this fails on my system:
[BCC32 Error] RVPkgCBXE2.cpp(3): E2209 Unable to open include file 'basepch.h'
[BCC32 Error] RVPkgCBXE2.cpp(9): E2303 Type name expected
[BCC32 Error] RVPkgCBXE2.cpp(9): E2034 Cannot convert 'char const[11]' to 'int'
[BCC32 Error] RVPkgCBXE2.cpp(9): E2293 ) expected
[BCC32 Error] RVPkgCBXE2.cpp(19): E2141 Declaration syntax error
All I did was opening the RVPkgCBEX2 project and BUILD.
I'm a bit confused about which project to target.. I'm assuming that using the Delphi project and compiling it with "generate all C++ files" is the way to go for someone that uses RADStudio with mixed personalities?
Thanks,
Johann
So I think these must be added somewhere as well..
I tried to compile the CBuilder version of the component, but this fails on my system:
[BCC32 Error] RVPkgCBXE2.cpp(3): E2209 Unable to open include file 'basepch.h'
[BCC32 Error] RVPkgCBXE2.cpp(9): E2303 Type name expected
[BCC32 Error] RVPkgCBXE2.cpp(9): E2034 Cannot convert 'char const[11]' to 'int'
[BCC32 Error] RVPkgCBXE2.cpp(9): E2293 ) expected
[BCC32 Error] RVPkgCBXE2.cpp(19): E2141 Declaration syntax error
All I did was opening the RVPkgCBEX2 project and BUILD.
I'm a bit confused about which project to target.. I'm assuming that using the Delphi project and compiling it with "generate all C++ files" is the way to go for someone that uses RADStudio with mixed personalities?
Thanks,
Johann
-
- Site Admin
- Posts: 17571
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Site Admin
- Posts: 17571
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: