Jump to content

How to call C# made DLL?


Recommended Posts

C#

namespace test
{
    public class test
    {
        public static string testreturn()
        {
            return "this is a test return string";
        }
    }
}

au3

$call = DllCall("test.dll","str","testreturn")
MsgBox(0,0,@error)

msgbox displays 3. any ideas what to do?

Edited by E1M1

edited

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...