Jump to content

3 Questions About Plugins


w0uter
 Share

Recommended Posts

wow its a long time ago i actually made a toppic in support.

like the title says i have a few questions about plugins.

1.

why is there a 4 byte space between each variant from "const AU3_PLUGIN_VAR *p_AU3_Params"

type

space for the int64

the int / hwnd / pointer

04 00 00 00 0D F0 AD BA A0 04 A3 00 0D F0 AD BA

04 00 00 00 0D F0 AD BA 70 D1 3D 00 0D F0 AD BA

but what is that last thing .... why is it needed ?

2.

After the flow is returnd to autoit it tries to free the strings that it passed to the plugin.

but if my plugin modifies the ebx register (wich holds the number of strings/paramters it needs to free ?)

it ends up in an infinite loop trying to find strings to free.

if this is true why doesnt autoit save them before giving the control flow to the plugin

the same question for ESI & EDI

3.

why are there two stars here: "AU3_PLUGIN_VAR **p_AU3_Result"

is this just a typo or a pointer to a pointer thingy ?

Edited by w0uter

My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll

Link to comment
Share on other sites

wow its a long time ago i actually made a toppic in support.

like the title says i have a few questions about plugins.

After lots of RESEARCH, here are your answers:

1. 42

2. 42

3. 42

Hope that helps, call on me any time!

:lmao:

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

not really :lmao:

Well, you know the answer is the easy part! o:)

If you want to know what the question was... well, you have to get your mice to build you a planet-computer, let it run a few giga-year cycles, while keeping the Vogons from blowing it up... Hmm, I'll bet you could script that part... ;)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

how about

While NoGoodAwnser()

If GetPage() > 2 Then Bump()

WEnd

No. No, I prefer:

#include <Puns.au3>

While _SuperbowlIsOn = 1
     Do
          If Not GoodAwnser() Then _GetBadPun($PunStyle_Extra_Cheesey)
     Until $PizzaDelivered = 1
WEnd

Go Seahawks! :lmao:

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

  • 2 weeks later...

okey finally found the awnser for 2

there is a rule that states that a function should keep EBX, EDI, ESI the same in the end as when it entered the call.

still wondering about the other 2 though.

My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll

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...