problem with memory.au3 (undefined function error)

05/04/2014 23:23 Mr.Netwolf#1
[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

so i included memory.au3 in my script but i cant seem to call any of the functions o_o

whats wrong?

even the memoryopen example from the fullinclude has the same problem...

anyone ? D: I'm clueless.


i run on win7 x64 could that have any impact?
05/05/2014 13:39 YatoDev#2
memory.au3 != Pointer.au3

Try to use #include "memory.au3"
or #include "Pointer.au3"
05/05/2014 14:33 alpines#3
The problem you're currently facing is this:
Code:
#include <Whatever.au3>
These < > brackets only work for the UDF path on your system.
Which is
Code:
C:\Program Files (x86)\AutoIt3\Include
on my system.

If you want to include UDFs which are in the same directory, simply use
Code:
#include "Whatever.au3"
If the UDF is not in the same directory try to use the fullpath e.g.
Code:
#include "C:\Users\SampleUser1\Desktop\Whatever.au3"
05/05/2014 18:22 Mr.Netwolf#4
ty for the answers =)

I solved the issue.

i had to rename the file or give the propper paths. I found a memory.au3 in the include folder with different functions.

BUT !

< _memory.au3> works like a charm now=D so ty

@fluttershy
pointer.au3 is my own script that calculates the final address of a value based on pointers and offsets. Currently working on turning it reocurring ( rekursiv?) for multilevel pointers and that's what i needed the memory.au3 for .
05/05/2014 20:05 YatoDev#5
Quote:
Originally Posted by Mr.Netwolf View Post
ty for the answers =)

I solved the issue.

i had to rename the file or give the propper paths. I found a memory.au3 in the include folder with different functions.

BUT !

< _memory.au3> works like a charm now=D so ty
.
as i wrote but dont give me a thanks its ok if you dont understand what i wrote^^
05/05/2014 23:39 Mr.Netwolf#6
well it didnt make sense at first but now it does so heres your thanks =D ^-^