MachinistProgrammer Posted July 9, 2014 Share Posted July 9, 2014 how dose autoitObject create new com classes dynamically? i thought that com objects were static All my projects live on github Link to comment Share on other sites More sharing options...
trancexx Posted July 9, 2014 Share Posted July 9, 2014 AutoItObject creates COM objects of IDispatch interface. New entities are added or removed by updating internal list which is searched through when object is invoked upon AutoIt call. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
FaridAgl Posted July 9, 2014 Share Posted July 9, 2014 Did I ever said I found _AutoItObject_RegisterObject() the best IPC method ever exists? If not, hey I found _AutoItObject_RegisterObject() the best IPC method ever exists. And trancexx, I guess it was you who addet this function to AIO, thanks for that. http://faridaghili.ir Link to comment Share on other sites More sharing options...
Richard Robertson Posted July 10, 2014 Share Posted July 10, 2014 Did I ever said I found _AutoItObject_RegisterObject() the best IPC method ever exists? If not, hey I found _AutoItObject_RegisterObject() the best IPC method ever exists. And trancexx, I guess it was you who addet this function to AIO, thanks for that. How are you using it for IPC? Link to comment Share on other sites More sharing options...
FaridAgl Posted July 10, 2014 Share Posted July 10, 2014 The parent process registers one or more objects with proper methods, the child processes call that methods to send data as parameters and receive data as method's return value (Child processes can also access/modify property of that object). The child processes can also register their own objects, pass the GUID of registered object to parent process by calling a method of parent process, parent process can then interact with its child in a two way communication. Think about it, there are a lots of other things which can be done this way. http://faridaghili.ir Link to comment Share on other sites More sharing options...
Richard Robertson Posted July 10, 2014 Share Posted July 10, 2014 That's actually pretty creative. I didn't realize that the AutoIt objects would exist outside of the process like that. Link to comment Share on other sites More sharing options...
FaridAgl Posted July 10, 2014 Share Posted July 10, 2014 Well, actually I didn't know that as the FAQ of AIO says created objects are only visible to AutoIt's eye (it also says ptr variables can't be stored in properties or be passed to methods as parameters, both are wrong, they are just possible) until about 1 week ago which I read the whole AutoItObject thread just for nothing! I saw a post by trancexx explaining this new feature and the most interesting part was that no one showed any interest. http://faridaghili.ir Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted July 11, 2014 Share Posted July 11, 2014 @FaridAgl & @Richard RobertsonIt seems a lot of people missed the >Access AutoIt thread. It's really quite ingenious! .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
FaridAgl Posted July 11, 2014 Share Posted July 11, 2014 Yeap, thanks for the link. http://faridaghili.ir Link to comment Share on other sites More sharing options...
Richard Robertson Posted July 11, 2014 Share Posted July 11, 2014 I don't touch the example scripts forum which is why I haven't seen it. 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