Jump to content

DllStructEx - Extended DllStruct for AutoIt3


genius257
 Share

Recommended Posts

Getting an error when executing Example.au3:

123
321
DllStructEx\Example.au3" (55) : ==> The requested action with this object has failed.:
$tKEY_EVENT_RECORD = DllStructExGetStruct($txINPUT_RECORD.Event.KeyEvent)
$tKEY_EVENT_RECORD = DllStructExGetStruct($txINPUT_RECORD.Event^ ERROR

 

Interesting approach.

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

36 minutes ago, UEZ said:

Getting an error when executing Example.au3

Hi @UEZ :)

Sorry it was a mistake on my part, not running my example code before release 😖

It should be fixed in version 1.0.1

Link to comment
Share on other sites

Version 1.1.0 released!

Most important change is a fix to the byte padding, that previously made DllStructEx useless with unions and nested structs with external calls! 🎊

Edited by genius257
Link to comment
Share on other sites

Hey all :)

So I'm working on this project again, trying to get it more stable, for use in some more complicated projects i am working on.

I don't know how many are using this project or to what degree, but i would love some feedback for features or issues.

 

Currently i am doing a rewrite for the parsing of struct strings, moving away from regular expressions and using a more hand made implementation.

I am mostly done making my new parser compatible with the old one, currently only missing handling of "STRUCT;", "ENDSTRUCT;" and "ALIGN n;", since the old code handled that internally in a less than desirable way.

After that i am also adding array support, since i am neck deep in the new parser anyways :D

Link to comment
Share on other sites

13 hours ago, argumentum said:

Every 1.1.0 points to 1.0.1

Thanks for the heads up :D

I can understand how the top post link may have been wrong, but i don't get how i messed up with the 1.1.0 announcement post 🤔

I have updated the links for now ;)

13 hours ago, argumentum said:

Using "https://github.com/genius257/DllStructEx/releases/latest"  will point to the latest version

Might update the top posts to do this for the next release version ;)

Link to comment
Share on other sites

v2.0.0 is now available.

The parser is now a hand written solution, instead of using regex
This fixes multiple issues, most notable crash with exit code c0000005, while trying to parse a variant tag.

Array support has also been added, this is what has taken the most time 😅.

NOTE: DllStructEx is no longer contained in a single file. I plan on using my package script solution later to generate and attach a bundled version to every release automatically, but my dung beetle project is still not ready for use.

Also little fun info: Every push and pull request for this project repository now triggers unit tests via GitHub actions, to help me no to push failing code by accident :D

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...