Skip to content

SBAIR example

Forums Forums SIMPOL Programming SBAIR example

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #244
    JD Kromkowski
    Participant

    Looking at SBAIR example. “Build” (and “rebuild”) unsuccessful. This is message: Cannot open file ‘errors.sma’ Please advise.

    #1506
    JD Kromkowski
    Participant

    Upon further investigation, I see that the "errors.sma" is only located in
    the SIMPOLinclude directory.

    I did "save as" and put in in the same dir as the other .sma, but then
    building results in this error.

    Cannot open file 'uisyshelphdr.sma'

    Same issue. Same fix on my part.

    So what this suggests is that somehow the "include" setting in SETTINGS
    is not working correctly because I can see that the "SIMPOLinclude"
    directory is listed under "included".

    Any further thoughts?

    #1383
    JD Kromkowski
    Participant

    Moving on (with my work around to build)

    An error is through because the form (I think) can't locate the .png logo
    in drive "X:etc, etc" which is probably the name of your drive where the
    png logo was located.

    Presumably that .png should have been included in this directory:

    C:SIMPOLProjectstutorialsbairbin

    and "checkin.sfx" would need to be modified to point to the correct
    location of the .png

    Am I on the correct path?

    JDK

    #1552
    Michael
    Keymaster

    JDK wrote:
    > Moving on (with my work around to build)
    >
    > An error is through because the form (I think) can't locate the .png
    > logo in drive "X:etc, etc" which is probably the name of your drive
    > where the png logo was located.
    >
    > Presumably that .png should have been included in this directory:
    >
    > C:SIMPOLProjectstutorialsbairbin
    >
    > and "checkin.sfx" would need to be modified to point to the correct
    > location of the .png
    >
    > Am I on the correct path?

    Goodness. Thanks for that. Yes, the png path probably needs to be
    removed so that it looks in the current directory. I will adjust the
    sample and update the installer. It also is strange that it is not
    finding the errors.sma and uisyshelphdr.sma if the correct include path
    is present.

    Ciao, Neil

    #1553
    Michael
    Keymaster

    JDK wrote:
    > Moving on (with my work around to build)
    >
    > An error is through because the form (I think) can't locate the .png
    > logo in drive "X:etc, etc" which is probably the name of your drive
    > where the png logo was located.
    >
    > Presumably that .png should have been included in this directory:
    >
    > C:SIMPOLProjectstutorialsbairbin
    >
    > and "checkin.sfx" would need to be modified to point to the correct
    > location of the .png
    >
    > Am I on the correct path?

    Thinking a bit more about this, I am going to update the formlib.sml to
    check the current directory if it cannot resolve the path. It already
    does this when opening tables.

    Ciao, Neil

    #1764
    JD Kromkowski
    Participant

    I have figured out why the "include"setting was not working. (Which by
    the way doesn't work in any of the tutorial examples)

    If you take a look at Settings > and the "includes and libraries" tab,
    you'll see
    under the include folders

    C:SIMPOLinclude

    But this is wrong. It should be

    C:SIMPOLinclude

    How did I figure this out. I manually when and added the C:SIMPOLinclude
    directory WITHOUT removing what was there. When you do this you will see
    both entries and the difference the "" makes. Because now the projects
    will build properly.

    My bill will be in the mail. 🙂

    #1555
    Michael
    Keymaster

    JDK wrote:
    > I have figured out why the "include"setting was not working. (Which
    > by the way doesn't work in any of the tutorial examples)
    >
    > If you take a look at Settings > and the "includes and libraries"
    > tab, you'll see under the include folders
    >
    > C:SIMPOLinclude
    >
    > But this is wrong. It should be
    >
    > C:SIMPOLinclude
    >
    >
    > How did I figure this out. I manually when and added the
    > C:SIMPOLinclude directory WITHOUT removing what was there. When
    > you do this you will see both entries and the difference the ""
    > makes. Because now the projects will build properly.
    >
    > My bill will be in the mail. 🙂

    Thanks for that. I will double-check the installer script. These have to
    be adjusted after the projects are installed, so it is the installer
    script at work here.

    Ciao, Neil

    #1507

    Sorting wiht "scaninavian" characters (åäöÅÄÖ) is not correct.

    #1717

    Sorry, Scandinavian… my bad english 🙂

    #1718
    Michael
    Keymaster

    Bert Lundberg wrote:
    > Sorting wiht "scaninavian" characters (åÀö���) is not correct.
    >

    That is not terribly surprising. The current sort order is viable for
    most European languages, but as I recall, in the Scandinavian sort
    order, the special characters are sorted at the end of the alphabet,
    rather than inline, which unfortunately directly conflicts with the sort
    order as used in other European countries. The index order that you
    require can be added to the product, we would just need to define it. It
    would then appear as a sorting algorithm for the indexes.

    Ciao, Neil

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