Results 1 to 8 of 8

Thread: %_SB_ERRORCODE% values

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default %_SB_ERRORCODE% values

    Hi Friedrich,

    I've started getting a DLL function fail with -1 in %_SB_ERRORCODE%
    (Only under W98). What sort of thing should I be looking for?

    Thanks,

    John Newman
    Software Partners Australia

  2. #2

    Default Re: %_SB_ERRORCODE% values

    Hi John,

    > I've started getting a DLL function fail with -1 in %_SB_ERRORCODE%
    > (Only under W98). What sort of thing should I be looking for?

    Whatever you would do to find out why the DLL does not work when called from
    your Clarion application under Win98. If you call that DLL from your
    Clarion DLL on this Win98 machine then it will also fail. I would suggest
    to check the dependencies for the DLL.

    Does this help?

    Friedrich

    --
    Friedrich Linder
    Lindersoft
    www.lindersoft.com
    +1.954.252.3910

    "point. click. ship" - that's SetupBuilder 6.7
    Create Windows Vista ready installations in minutes

    -- Official Comodo Code Signing and SSL Certificate Partner

  3. #3

    Default Re: %_SB_ERRORCODE% values

    > I would suggest to check the dependencies for the DLL.

    The DLL is linked Local, and should have no external dependencies. It only
    uses Clarion and FM3 (and removing FM3 removes the symptom<g>). I'm just
    looking for ideas.

    Thanks for the suggestion, I might see what Capesoft has to say.


    John Newman
    Software Partners Australia

  4. #4

    Default Re: %_SB_ERRORCODE% values

    Hi John,

    >> I would suggest to check the dependencies for the DLL.
    >
    > The DLL is linked Local, and should have no external dependencies. It only
    > uses Clarion and FM3 (and removing FM3 removes the symptom<g>). I'm just
    > looking for ideas.
    >
    > Thanks for the suggestion, I might see what Capesoft has to say.

    Sometimes a DLL that makes use of 3rd party products calls into a Visual C++
    runtime library. Perhaps that VC++ library is not available on the Win98
    machines.

    You can check this with the SetupBuilder Static Scan Wizard (I would suggest
    to disable the "Filter" option) and see if there is a call to the VC++ from
    your DLL.

    Friedrich

    --
    Friedrich Linder
    Lindersoft
    www.lindersoft.com
    +1.954.252.3910

    "point. click. ship" - that's SetupBuilder 6.7
    Create Windows Vista ready installations in minutes

    -- Official Comodo Code Signing and SSL Certificate Partner

  5. #5

    Default Re: %_SB_ERRORCODE% values

    > You can check this with the SetupBuilder Static Scan Wizard (I would suggest
    > to disable the "Filter" option) and see if there is a call to the VC++ from
    > your DLL.

    Mmm, doesn't seem to be, but I don't know what the stuff in WinSxS folder is about...

    C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x
    -ww_ac3f9c03\COMCTL32.dll
    C:\WINDOWS\system32\ADVAPI32.dll
    C:\WINDOWS\system32\GDI32.dll
    C:\WINDOWS\system32\KERNEL32.dll
    C:\WINDOWS\system32\MPR.dll
    C:\WINDOWS\system32\OLEAUT32.dll
    C:\WINDOWS\system32\RPCRT4.dll
    C:\WINDOWS\system32\SHELL32.dll
    C:\WINDOWS\system32\SHLWAPI.dll
    C:\WINDOWS\system32\USER32.dll
    C:\WINDOWS\system32\WINSPOOL.DRV
    C:\WINDOWS\system32\comdlg32.dll
    C:\WINDOWS\system32\msvcrt.dll
    C:\WINDOWS\system32\ntdll.dll
    C:\WINDOWS\system32\ole32.dll
    D:\bin6\statDLL.dll

    Best regards,

    John Newman
    Software Partners Australia

  6. #6

    Default Re: %_SB_ERRORCODE% values

    msvcrt.dll in your list is the Microsoft Visual C++ Run Time library. That
    is not a problem per-se. If your DLL depends on a specific msvcrt.dll build
    then the question is whether that library is available on the Win98 machine.

    Friedrich

    --
    Friedrich Linder
    Lindersoft
    www.lindersoft.com
    +1.954.252.3910

    "point. click. ship" - that's SetupBuilder 6.7
    Create Windows Vista ready installations in minutes

    -- Official Comodo Code Signing and SSL Certificate Partner

  7. #7

    Default Re: %_SB_ERRORCODE% values

    By the way, if you are interested, you can send your DLL to support (at)
    lindersoft (dot) com and we'll check if it tries to load msvcrt.dll
    statically.

    --
    Friedrich Linder
    Lindersoft
    www.lindersoft.com
    +1.954.252.3910

    "point. click. ship" - that's SetupBuilder 6.7
    Create Windows Vista ready installations in minutes

    -- Official Comodo Code Signing and SSL Certificate Partner

  8. #8

    Default Re: %_SB_ERRORCODE% values

    > By the way, if you are interested, you can send your DLL to support (at)
    > lindersoft (dot) com and we'll check if it tries to load msvcrt.dll
    > statically.

    I'll do that. Thank you!


    John Newman
    Software Partners Australia

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •