Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 16:51

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



problem with memory.au3 (undefined function error)

Discussion on problem with memory.au3 (undefined function error) within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
Mr.Netwolf's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 80
Received Thanks: 6
problem with memory.au3 (undefined function error)





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?
Mr.Netwolf is offline  
Old 05/05/2014, 13:39   #2
 
YatoDev's Avatar
 
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
memory.au3 != Pointer.au3

Try to use #include "memory.au3"
or #include "Pointer.au3"
YatoDev is offline  
Thanks
1 User
Old 05/05/2014, 14:33   #3
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
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"
alpines is offline  
Thanks
1 User
Old 05/05/2014, 18:22   #4
 
Mr.Netwolf's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 80
Received Thanks: 6
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 .
Mr.Netwolf is offline  
Old 05/05/2014, 20:05   #5
 
YatoDev's Avatar
 
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
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^^
YatoDev is offline  
Old 05/05/2014, 23:39   #6
 
Mr.Netwolf's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 80
Received Thanks: 6
well it didnt make sense at first but now it does so heres your thanks =D ^-^
Mr.Netwolf is offline  
Reply


Similar Threads Similar Threads
NomadMemory, undefined function, Error
12/27/2013 - AutoIt - 4 Replies
Bei $ModuleBaseAddress = _MemoryModuleGetBaseAddress($iv_Pid, "OrcsMustDie2.exe") sagt AutoIt mir ERROR: _MemoryModuleGetBaseAddress(): undefined function. kann mir wer helfen? D: ganzer Code #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Outfile_x64=Autoit\Orcs Must Die 2 Trainer.exe #AutoIt3Wrapper_UseUpx=n #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
NomadMemory, undefined function, Error
12/19/2013 - AutoIt - 8 Replies
Bei sagt AutoIt mir ERROR: _MemoryModuleGetBaseAddress(): undefined function. kann mir wer helfen? D: ganzer Code #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Outfile_x64=Autoit\Orcs Must Die 2 Trainer.exe #AutoIt3Wrapper_UseUpx=n #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
Fatal error: Call to undefined function mysql_connect()
02/16/2010 - Metin2 Private Server - 3 Replies
hi elitepvpers da ich bei einem problem einfach nicht weiterkomme, hoffe ich hier hilfe zu finden. Ich habe auf FreeBsd Apache Mysql und Php installiert nun möchte ich eine page damit online stellen, die z.b. ein registrierungsformular besitzt und diese daten dann in ne mysql datenbank eingibt. ist zum accounts machen für ein game. wenn ich nun jedoch auf absenden gehe kommt folgender error:



All times are GMT +1. The time now is 16:52.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.