Jump to content

How to declare a function


Toppoint
 Share

Recommended Posts

Hi there.

I have a question and i hope someone can help me.

I want to call a function from a programming language, that can using dlls.

For example: I want to use the tooltip function:

Declare Function ToolTip Lib "C:\AutoITX3.dll" (ByVal ... as string, byval ..... (help needed here in this line)

ToolTip "123 - This is a Test" , 100 ,100

I got always the error message: "Can not find dll command tooltip".

I have tried some different delcare functions. But can not start it. Hope you have the right command for me.

thx

toppoint

Link to comment
Share on other sites

Read the AutoItX help file for function prototypes. They are all there, you just have to rewrite them for VB which is what it appears you are using.

Hello Richard,

Thank you.

I read it one day before. I dont have problems in declaring functions from other dlls.

But i am sure that i will find a solution with the autoit dll.

I only need some time.

regards,

toppoint

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