baveeshna Posted September 5, 2011 Posted September 5, 2011 Hi All, I was able to call functions in a dll using autoit, but could not access the functions of a '.lib' file. Can anybody help me out with this?. Thanks in advance.
JohnOne Posted September 5, 2011 Posted September 5, 2011 I thought a.lib and a .dll worked hand in hand, like information about the functions of a dll file to be able to use it as a COM object. Of course I could be wrong, or very wrong. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
baveeshna Posted September 6, 2011 Author Posted September 6, 2011 When I try to access the lib file as we do for a dll, I get the following error. "xyz.lib is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. " I even tried with ObjectCreate, but nothing worked.
JohnOne Posted September 6, 2011 Posted September 6, 2011 Buddy, you cannot use a lib file like a dll file. Show some code/. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
baveeshna Posted September 6, 2011 Author Posted September 6, 2011 Yes, I had that understanding. I was able to access dll through autoit using DllCall. Is there any similar way to access the functions of a .lib file directly?Pardon me if my understanding of autoit on this is very less.
trancexx Posted September 6, 2011 Posted September 6, 2011 Yes, I had that understanding. I was able to access dll through autoit using DllCall. Is there any similar way to access the functions of a .lib file directly?No. ♡♡♡ . eMyvnE
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now