Guest Rodrigo Posted March 16, 2005 Share Posted March 16, 2005 Hello to all,I'm use v3.1.0Well, I have one function made in Visual Basic 6.0 that I'd like use in AutoIt. For this I make one Dll,but not work.For those that know VB. (ActiveX Dll Project) in a Class Module I have this code (Is just one example !):Function msg(result$) MsgBox result, vbCriticalEnd FunctionAnd I compile this code as popup.dllHow Can I Call this dll in the AutoIt ??? This is possible with a dll made in VB ?THX.Rodrigo Martins. Link to comment Share on other sites More sharing options...
automagician Posted March 16, 2005 Share Posted March 16, 2005 DllCall("popup.dll", 'return type', "msg") See AutoIt Help - DllCall for more info.... Link to comment Share on other sites More sharing options...
SlimShady Posted March 16, 2005 Share Posted March 16, 2005 I can't make it work either. My first thought was "you shouldn't make an ActiveX DLL", but I'm not really into this. I tried different things, but AutoIt keeps saying it fails to call the function. Link to comment Share on other sites More sharing options...
SlimShady Posted March 16, 2005 Share Posted March 16, 2005 I thought he wants to call the function using AutoIt's DllCall..? Link to comment Share on other sites More sharing options...
automagician Posted March 16, 2005 Share Posted March 16, 2005 (edited) If you can get this linker working, it supposed to be able to turn the VB DLL into a "real" DLL. Not everyone I know has had success with this, but it may be worth a shot...That's all I can think of....sorry.Sorry forgot the link:http://lockfree.50megs.com/linker.html Edited March 16, 2005 by automagician 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