sayonarap Posted January 13, 2012 Share Posted January 13, 2012 Hi, I'm using Visual Studio 2010 Express Edition (C++ to be exact) and trying to follow this thread: However, I can't see any 'autoitx3.lib' in the AutoItX folder. Only the .h, the .dll files (and main.cpp file inside the example folder, of course). Am I missing something? I've found that previous versions (let's say 3.1.1.0) actually have the file. Should I use that version, better? Or is the lib included in other files in some way with newer AutoIt versions? Thanks in advance. Link to comment Share on other sites More sharing options...
funkey Posted January 13, 2012 Share Posted January 13, 2012 It's in the folder ..AutoIt3AutoItXStandardDLLVC6 Programming today is a race between software engineers striving tobuild bigger and better idiot-proof programs, and the Universetrying to produce bigger and better idiots.So far, the Universe is winning. Link to comment Share on other sites More sharing options...
sayonarap Posted January 13, 2012 Author Share Posted January 13, 2012 Not, it isn't :S I've tried a lot of versions and the last one where I can find the .lib file is 3.2.0.1. Maybe it's a problem with the newer zipped versions. The 3.2.0.1 zipped version is just that: a zip file. The 3.3.8.0 zipped version is a 7z autoextracting exe. Can this be the problem? I don't like to use the installer because it registers the dll and I'm also doing some tests with VB and would like to use the DLL itself, not the COM control. I can't get AutoIt to work with either VC++ or VB, using Visual Studio 2010 Express Edition. Link to comment Share on other sites More sharing options...
Richard Robertson Posted January 14, 2012 Share Posted January 14, 2012 You don't need the lib. Dynamically link to the DLL or use COM. Link to comment Share on other sites More sharing options...
sayonarap Posted January 14, 2012 Author Share Posted January 14, 2012 The matter is that I don't know how to do that Whatever I try, it ends with an epic fail XDI would like to use the dynamic DLL way. Since the COM will require my future users to manually register the autoitx3.dll library, isn't it? Or make a install wizard what do it. I would like to avoid it.I tried to directly import the DLL as a reference (Project -> Add reference) but I get a "unregistered COM" error. I used Google to look for "vc++ use external dll" and similar but... nothing yet. I'm now trying to follow this:http://www.codeproject.com/KB/DLL/XDllPt1.aspxWhat part? Number 4? (Loading a C++ DLL dynamically from a VC++ application) Is autoitx3.dll a C++ DLL or it's in another language? Or it doesn't matter?I'm so lost... Link to comment Share on other sites More sharing options...
Richard Robertson Posted January 14, 2012 Share Posted January 14, 2012 You are actually referencing a C style API, not a C++ API. Link to comment Share on other sites More sharing options...
sayonarap Posted January 16, 2012 Author Share Posted January 16, 2012 Well, I'm still not able to do it.Since rohaa8673 (see the link I put in first post) achieved what I want, I tried to contact him a couple of days ago but no response yet.BTW, Richard, you have a PM. Link to comment Share on other sites More sharing options...
Richard Robertson Posted January 16, 2012 Share Posted January 16, 2012 I know I have a PM. The website is kinda designed to alert people for that automatically. Link to comment Share on other sites More sharing options...
sayonarap Posted January 17, 2012 Author Share Posted January 17, 2012 Well, finally I was able to use the AutoItX3.dll directly. I had to use 3.2.0.1 version, though. I don't know why latest version didn't work for me :S Link to comment Share on other sites More sharing options...
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