Sign in to follow this  
Followers 0
J0ker

Library .lib

7 posts in this topic

I have a quick question,

Can I use library file (.lib) with Autoit?

Share this post


Link to post
Share on other sites



I have a quick question,

Can I use library file (.lib) with Autoit?

yes, you can copy the file, rename it, delete it, load it into a variable, etc.


__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

But how can I use the functions inside it?

Can I compile an exe and attach a .lib file to it?

Like #include <blabla.lib>

then I could call a function in my script.

Edited by J0ker

Share this post


Link to post
Share on other sites

But how can I use the functions inside it?

aha, now we are getting closer....

Can I compile an exe and attach a .lib file to it?

Like #include <blabla.lib>

then I could call a function in my script.

You could create a stub DLL and use the desired .lib functions within the DLL and use DllCall in AutoIT.


__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Share this post


Link to post
Share on other sites

Well I already have dll but the problem is it make me 2 separate files. If I use a library like in C++, I should be able to compile it together and then have only one file. I dont think it's possible in autoit ...

Share this post


Link to post
Share on other sites

Well I already have dll but the problem is it make me 2 separate files. If I use a library like in C++, I should be able to compile it together and then have only one file. I dont think it's possible in autoit ...

the only way in AutoIT is a DLL.


__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Share this post


Link to post
Share on other sites

Hi

Does anyone know now a way how to call .lib files in AutoIt?

Or how to convert a lib file in an dll file?

Thanks for answers.

Spider


www.AutoIt.de - Moderator of the German AutoIt Froum

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