Sign in to follow this  
Followers 0
Toppoint

How to declare a function

5 posts in this topic

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

Share this post


Link to post
Share on other sites



Aren't the dll functions prefixed with "AU3_"?

Like AU3_ToolTip.

Share this post


Link to post
Share on other sites

Aren't the dll functions prefixed with "AU3_"?

Like AU3_ToolTip.

Thank you for your fast reply.

But i get the same error message.

Any ideo or example ?

Share this post


Link to post
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.

Share this post


Link to post
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

Share this post


Link to post
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
Sign in to follow this  
Followers 0