Jump to content

DLL import on wingetstate- Arguments start is nothing


Recommended Posts

I'm using the interop dllimport to use the function Wingetstate inside my application.

i'm using this line code:

<DllImport("Autoitx3.dll")> _

Public Shared Function AU3_WinGetState(ByVal title As String, Optional ByVal text As String = "") As Long

End Function

When i try to call the function by using try -catch cycle , i receive an error

Argument 'start' is nothing.

COuld you help me regarding that??

Thanks for support

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...