Questions about installation on BCB6

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #37033
    Kuremon
    Participant

    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 ?

    #55227
    Support
    Keymaster

    Hello

    I need to see it. Can you show these issues remotely?

    #55248
    Kuremon
    Participant
    '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.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.