- This topic has 2 replies, 2 voices, and was last updated 8 years, 4 months ago by Kuremon.
-
AuthorPosts
-
June 30, 2016 at 5:55 am #37033KuremonParticipant
Hello,
I'm using Borland C++ 6 for the development of a quite big program, around 60 packages.
Borland 6 is quite old and there is a lot a strange things, for example about packages inclusion.
I started to use alpha controls and skin manager recently.
The installation succeed, AlphaTools appears on the Borland tool bar, acntBCB6 appears on the installed packages.
I changed some forms, buttons or checkbox,… on my project, and it works properly, very good results, very nice!
But when I spread the use of alphacontrols to more and more interfaces, some errors start to appears.
First when compiling some packages, the following error:
[Fatal: Access violation. Link terminated.]
The link failed. It seems to be due to a problem of coordination of included packages but I do not know the real reason.
Do you know something about it ?
Then when I manage to get a project which compiles well, when starting the program, the following error appears:
[MyMain.exe no starting point
The procedure entry point @ Scheckbox @ Finalization $ qqrv (a) can not be found in the DLL MyDialogPackage1.bpl.]
It seems the acntBCB6_R package is not found in the package that uses alphacontrols. Do you have any idea about this ?
Finally, let's put it simply, my project has the following packages:
MyMain.exe: the main executable with the main interface. The default SkinManager is in here.
MyDialogPackage1.bpl: A lot of interface using alphacontrols (Used by MainPackage)
MyDialogPackage2.bpl: A lot of interface using alphacontrols (Used by MainPackage and DialogPackage)
MyCommonPackage.bpl: Just common functions, no interface, no use of alphacontrols. (Used by all)
AMinorPackage.bpl: some functions, no interface, no use of alphacontrols.
After having installed the alphacontrols package, what should I do to be able to apply alphaskin to the first three packages.
And why should I prevent myself from doing to avoid the errors I mentionned earlier ?
July 1, 2016 at 4:29 pm #55227SupportKeymasterHello
I need to see it. Can you show these issues remotely?
July 4, 2016 at 6:31 am #55248KuremonParticipant'Support' wrote:Hello
I need to see it. Can you show these issues remotely?
Well, it is difficult to show it, even remotely.
But I investigate on my side.
First the Access Violation error during the linking process seems to be due to the add of acntBCB6_R.lib in my main package.
Not the library itself I think, it could have been anything, but the fact a library has been added like this.
When you open a *.bpr or *.bpk, there is the following parts:
By installing alphaskin's library on my environment, acntBCB6_R.lib has been added automatically to the LIBRARIES part of my main executable.
And this is what provoked the error above when compiling.
I do not know the difference between LIBRARIES, SPARELIBS and PACKAGES and how do you can edit from the IDE of BCB6.
But I removed acntBCB6_R.lib from LIBRARIES, added it to SPARELIBS and added acntBCB6_R.bpi to PACKAGES by using a text editor and it works fine.
I managed to get an environment which works now.
This problem is more about BCB6 itself than alphaskin.
Actually I have quite difficulties to understand the way packages and libraries work with BCB6.
Sorry for the disturbance.
-
AuthorPosts
- You must be logged in to reply to this topic.