kcvinu Posted May 27, 2023 Share Posted May 27, 2023 Hi all, Is it possible to fill some data inside an autoit map outside the context of an autoit app ? I mean, I am working with a dll file. It is easy if I can fill the autoit map from this dll. Can I get the map's pointer from this dll ? @TheDcoder I hope you wrote the map library, right ? Spoiler My Contributions Glance GUI Library - A gui library based on Windows api functions. Written in Nim programming language. UDF Link Viewer --- A tool to visit the links of some most important UDFs Includer_2 ----- A tool to type the #include statement automatically Digits To Date ----- date from 3 integer values PrintList ----- prints arrays into console for testing. Alert ------ An alternative for MsgBox MousePosition ------- A simple tooltip display of mouse position GRM Helper -------- A littile tool to help writing code with GUIRegisterMsg function Access_UDF -------- An UDF for working with access database files. (.*accdb only) Link to comment Share on other sites More sharing options...
TheDcoder Posted May 27, 2023 Share Posted May 27, 2023 19 minutes ago, kcvinu said: Is it possible to fill some data inside an autoit map outside the context of an autoit app ? Technically yes but it would be highly dependent on AutoIt's internal representation of maps and other internal state which you may not even know about. So in short, it's not worth it and it is a bad idea. 21 minutes ago, kcvinu said: It is easy if I can fill the autoit map from this dll. I suggest that you just write some bridge code which serializes the "map" data in your DLL and then parse that serialized map in AutoIt to create a proper map. 22 minutes ago, kcvinu said: @TheDcoder I hope you wrote the map library, right ? Yes, but it's not official, it's just something I did for fun a long time ago, it's still on my GitHub and maybe even here. It doesn't have anything special inside it... except maybe you can pass a Scripting.Dictionary object from your DLL? My UDF has a _Map_DictToMap function which will create a map from that. EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
kcvinu Posted May 27, 2023 Author Share Posted May 27, 2023 @TheDcoder, Thanks for the reply. Well, I am cooking something interesting for AutoIt. A gui library fpr AutoIt. All heavy works are happening inside the dll. So after creating a window class, I need to transfer the necessary properties from the dll function to autoit. Currently map is in my radar. I am planning to use Scripting.Dictionary also. There are more than 20-25 properties and event name indexes to transfer. Anyhow, I am searching for new ways to do it. argumentum and TheDcoder 2 Spoiler My Contributions Glance GUI Library - A gui library based on Windows api functions. Written in Nim programming language. UDF Link Viewer --- A tool to visit the links of some most important UDFs Includer_2 ----- A tool to type the #include statement automatically Digits To Date ----- date from 3 integer values PrintList ----- prints arrays into console for testing. Alert ------ An alternative for MsgBox MousePosition ------- A simple tooltip display of mouse position GRM Helper -------- A littile tool to help writing code with GUIRegisterMsg function Access_UDF -------- An UDF for working with access database files. (.*accdb only) 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