JohnOne Posted January 20, 2012 Share Posted January 20, 2012 (edited) EDIT: I've labelled this as solved, but I just found another way to do what I wanted with win32 dll. Sorry for inconvenience. ______________________________________________________________________ I use Visual Studio 2010. I create a new project by selecting visual c++, CLR, Class Library. a project for creating classes to use in other applications The resulting file is that of a .dll extension. I want to ask if these libraries can be called from AutoIt? The blank project created looks like this. #pragma once using namespace System; namespace clrtestlib { public ref class Class1 { // TODO: Add your methods for this class here. }; } I've created and used win32 dll files but it seems so different. Edited January 20, 2012 by JohnOne AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Richard Robertson Posted January 20, 2012 Share Posted January 20, 2012 You can call anything that is exported as a C style export. You would do this in exactly the same way as a normal win32 dll. You just can't send managed objects into an unmanaged context (back to AutoIt). Also, it doesn't have to have a dll extension to be usable as a library. Link to comment Share on other sites More sharing options...
JohnOne Posted January 20, 2012 Author Share Posted January 20, 2012 Cheers, good to know for future. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. 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