Jump to content
GE1956

IcsCommonCB103Design installation failure (WINAPI.WINDOWS.OBJ) C++

Recommended Posts

I am trying to install the IcsCommonCB103Design component in Embarcadero XE10.3 (C++),  I have already followed the instructions described in another thread:

https://en.delphipraxis.net/topic/763-trying-to-install-ics-858-on-c-builder-rio-1031/


I was able to install these two components:

  1. IcsFmxCB103Design.cbproj
  2. IcsVclCB103Design.cbproj

 

...unfortunately, the install process failed on IcsCommonCB103Design.cbproj, while the compilation of the corresponding run Project (IcsCommonCB103Run.cbproj) has been successful.

 

The linker exits with the error message:

c:\borland\rad studio\20.0\Bin\CodeGear.Cpp.Targets(3799,5): error : Fatal: Datei 'WINAPI.WINDOWS.OBJ' cannot be opened

 

I am working on a Windows 10 System, and I can't find any WINAPI.WINDOWS.OBJ file, only the pascal and dcu files do exist:

  • C:\Borland\RAD Studio\20.0\source\rtl\win\Winapi.Windows.pas
  • C:\Borland\RAD Studio\20.0\lib\win32\release\Winapi.Windows.dcu

 

Now I do wonder, where this file should be located and how I am able to find/download/compile the needed file?

 

Due to the fact that I only work with the helper component TMimeDecode, I might consider to use the class without any component at all, if this shouldn't work,

would this be possible? 

 

In case, there is no possible soluation at reach, I need to find another library for my mime decode use case.

Share this post


Link to post

Unless you need FMX support, you would be better installing the VCL only packages, they are less complicated.  But we don't seem to have them for 10.2 and later, so try using OverbyteIcsCBD101Run.cbproj and OverbyteIcsCBD101Design.cbproj

 

Sorry, I don't use C++ so can not help you any further.  We are dependent upon ICS users for C++ support.

 

Angus

 

Share this post


Link to post

Sorry for the late reply, but I was finally able to give it a try.

The file you did Mention does not exist, the closest I could find was D101Install.groupproj, but trying to open the groupproj file,an error message informs

about a required Personality Delphi.Personality not being available.Might this happen due to the fact that I am using Embarcadero C++ Builder?

 

Thus,  I wasn't able to install the component set, but found out, that the required .obj and .hpp files were generated during the earlier compilation of the 103FmxVcl runtime Project, which is 

sufficient for the use case I need, but nonetheless I would be interested in a solution to the problem described above.

Share this post


Link to post

The Dxx projects are Delphi, CBxx are C++ Builder.  Looks like I put an extra D in the name, should have been OverbyteIcsCB101Run.cbproj, but evewn that is missing, so try Packages\OverbyteIcsCBXe3Run.cbproj and Packages\OverbyteIcsCBXe3Design.cbproj.  We are dependent upon C++ users to supply packages for new compilers, and it does not happen often enough.

 

Angus

 

Share this post


Link to post

Thanks for the clarification. I tried to compile OverbyteIcsCBXe3Run.cbproj, as you did recommend, but unfortunately the IDE displays a compiler error:

[DCC Fatal Error] pasall.tmp(1): F2048 Bad unit format: 'c:\borland\rad studio\20.0\lib\obj\system.dcu' - Expected Version: 33.0, Windows Unicode(x86) Found Version: 14.0, Windows Ansi(x86)

My C++ Builder 10.3 version does not seem to be compatible with the CBXe3 project.

 

Share this post


Link to post
Now I have another issue, when I try to use a TPop3Cli component.
The following files cannot be found:
- IcsCommonCB103Run.lib
- IcsVclCB10Run.lib
Where are those files located?
Is it missing because I was not able to install the component set correctly?
 

Share this post


Link to post

The build didn't produce any lib files, only obj files. Now I helped myself using tlib.exe to create the appropriate lib files:

- tlib IcsCommonCB103Run.lib +IcsCommonCB103Run.obj
- tlib IcsVclCB103Run.lib +IcsVclCB103Run.obj

Share this post


Link to post

Hello GE1956 (and Angus),

 

Did you finally manage to install ICS on C ++ Builder 10.3 without Delphi personality ?

 

I'm currently using C++Builder XE8 with ICS 8.47.

I want to purchase C++Builder 10.4 but installing ICS is a requirement (and the trial version have the Delphi personality).

 

Thanks.

Share this post


Link to post
1 hour ago, Poco said:

install ICS on C ++ Builder 10.3

Are you used to work with C++ Builder or are you a newbie?

If you are used, I would suggest you create YOURSELF a new component package and add TWSocket.pas to it and then add all missing units. This could be tedious.

The using that new package (install it) you then try a fist example using on TWSocket.

Share this post


Link to post

Hello François,

 

Thank you for the answer.

I have been working with C++ Builder and ICS for more than 10 years.

 

But I only use my own visual components and ICS - because ICS is great of course 😉 

So I'm not really a component specialist, especially Delphi components. I avoid them and I prefer to use C++ libraries / DLLs.

 

I just want to be sure that I will be able to compile/install/use ICS with C++ Builder 10.4 before I purchase it (not RAD Studio, only C++Builder).

 

It seems that a lot of C++ developers have difficulty installing it, and that worries me a little.

 

Share this post


Link to post
18 minutes ago, Poco said:

C++ Builder 10.4 before I purchase it

10.4.2 is near the end of beta. Maybe wait a little bit unless you take the update subscription (You should).

Edited by FPiette
  • Like 1

Share this post


Link to post

Yes, but there is a special offer now...

Edit : sorry I misunderstand. I will inquire about the update subscription. 

Edited by Poco

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×