Calling DLL

Discussion in 'Questions (Windows Mobile)' started by tksaha, Apr 1, 2009.

  1. tksaha

    tksaha Member

    I am new to Basic4PPC. Is there any way to call external DLL functions from BASIC code? Thanks in advance.:sign0085:
     
  2. agraham

    agraham Expert Licensed User

    I assume that you mean a native code dll rather than a .NET dll. You can't directly call into native code from Basic4ppc, you would need to write a helper library using a .NET language, most likely C# or VB.NET, that called the external dll for you.

    If the dll is actually a .NET assembly (like the Basic4ppc libraries) then it might be possible to call into that depending upon how the code in the library is organised and whether Basic4ppc supports the types of the parameters and return of the function you wanted to access.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice