how to use declares

  1. 5 weeks ago

    I want to use declares
    i have a dll file (SlpApi7x32.dll),
    when i compile my project i gets error as - Failed to load library SlpApi7x32, The specified module could not be found.

    where should i place this dll so that it will get accessed by my project ?

    or is the error related to my code ?

  2. Michel B

    Sep 17 Pre-Release Testers, Xojo Pro RubberViews.com

    This could help:

    https://blog.xojo.com/2018/06/03/which-dlls-can-i-move-and-where/

    https://blog.xojo.com/2014/01/03/accessing-net-code-from-xojo/

  3. Jean-Yves P

    Sep 17 Pre-Release Testers, Xojo Pro Europe (France, Besançon)

    also this one :
    https://gumroad.com/l/lcGH

  4. Emile S

    Sep 17 Europe (France, Strasbourg)

    The presence of 32 in the dll name is fearful.

  5. Norman P

    Sep 17 Pre-Release Testers, Xojo Pro great-white-software.com/blog

    are you building a 32 bit or 64 bit app ?
    is the dll 32 bit or 64 bit ?
    a 32 bit app cannot use a 64 bit dll
    a 64 bit Xojo app cannot use a 32 bit dll

  6. @Norman P are you building a 32 bit or 64 bit app ?
    is the dll 32 bit or 64 bit ?
    a 32 bit app cannot use a 64 bit dll
    a 64 bit Xojo app cannot use a 32 bit dll

    i am building 32 bit app and using 32 bit dll.
    now i have used soft declares and i get "Method not found" error on method call.

  7. Tim H

    Sep 17 Pre-Release Testers Portland, OR USA

    The dll must be in the system search path, next to the .exe, or in the Libs folder. Where is the dll relative to your exe?

or Sign Up to reply!