theguy0000 Posted October 28, 2006 Share Posted October 28, 2006 is it possible to give my autoit application COM functionality so thatother applications can use it? like when a separate application calls MyApp.Application.msgbox then my app would display a msgbox? (of course that's just an example ) Is that possible? The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
Valuater Posted October 28, 2006 Share Posted October 28, 2006 I think the easiest way is to use ... $CMDLine Run("The_Program_Name.exe /MsgBox") If $CMDLine[0] > 0 Then If $CMDLine[1] = "/MsgBox" Then GetMsgBx() EndIf ; More Code Here Func GetMsgBx() MsgBox(64, "Test", "This is a test ") Exit EndFunc ;==>GetMsgBx 8) Link to comment Share on other sites More sharing options...
theguy0000 Posted October 28, 2006 Author Share Posted October 28, 2006 I know lol I'm just curious about how I would implement COM The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
Valuater Posted October 28, 2006 Share Posted October 28, 2006 I know lol I'm just curious about how I would implement COMWell, if you figure it out... please let me know how too!8) Link to comment Share on other sites More sharing options...
theguy0000 Posted October 28, 2006 Author Share Posted October 28, 2006 autoitxisnt autoitx for using autoit in other languages? because that's not what I want, I'm just interested in implementing COM to an autoit application... The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
cppman Posted October 28, 2006 Share Posted October 28, 2006 I highly doubt you can...You could just write it in C++ and distribute it with your prorgams... http://www.codeguru.com/cpp/com-tech/activ...icle.php/c5517/ Miva OS Project Link to comment Share on other sites More sharing options...
Locodarwin Posted October 28, 2006 Share Posted October 28, 2006 The answer is going to be a resounding no, I can guarantee you. Because you asked the question, you probably don't understand what kind of technical feat it would be, and why it wouldn't be worth it. Suffice it to say, AutoIt wasn't meant for that sort of programming. You might consider C#. It's a nice compromise for those who wish to be able to program near the low level of C++ (with only the .NET CLR in the way), yet with near-AutoIt ease. -S (Yet Another) ExcelCOM UDF"A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly...[indent]...specialization is for insects." - R. A. Heinlein[/indent] 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