address

Call function by memory address in Pascal - Delphi

Hi all. I have a function in C++ that I call with its memory address with typedef, and I want to do the same thing in Delphi. typedef void (*function_t)(char *format, ...); function_t Function; Function = (function_t)0x00477123; And then, I call it with: Function("string", etc); I tried to do this in Delphi, but got no results. I...

Assigning A Specific Memory Address from another program, and changing it's value

Recently I've time off of school for a few days and wanted to do a small program(s) experiment in c++ dealing with memory address. I wanted to see is that if a currently running program (Let call it Program A) that created a pointer to an int object in the heap, can be seen by another program and be modified (Program B). So for Progr...

Guarantees on address of baseclass in C++?

In C struct's, I'm guaranteed that: struct Foo { ... }; struct Bar { Foo foo; ... } Bar bar; assert(&bar == &(bar.foo)); Now, in C++, if I have: class Foo { ... }; class Bar: public Foo, public Other crap ... { ... } Bar bar; assert(&bar == (Foo*) (&bar)); // is this guaranteed? If so, can you give me a reference (like "The ...

ELF binary entry point

why is the entry point in each ELF binary something starting with 0x80xxxxx? Why doesn't the program start at (virtual) address 0x0? When executed, program will start running from virtual address 0x80482c0 (see entry point address). The "0x" prefix here means it is a hexadecimal number. This address doesn't point to our main() procedure...

Visual Studio C++ Debugger, get value from address

hello, if you just know the address of a variable and the type of it, is it possible to see it's value in the visual studio debugger? furthermore, would it be possible to use this address in a conditional or data breakpoint? i already tried plain casting like this: (bool)(*0x05dc05d1) which is obviously stupid. ;) thanks ...

iPhone: Update All address (Home, Work, Other) of contact

hi all, i am creating a new contact programmatically. it work well except address. following is the code to add a contact ABAddressBookRef libroDirec = ABAddressBookCreate(); ABRecordRef persona = ABPersonCreate(); ABRecordSetValue(persona, kABPersonFirstNameProperty, tempSingle.firstName , nil); ABRecordSetValue(persona, kABPer...

Java Compare Addresses

Hi, Does anyone know a library to compare addresses in Java ? Something that would give equality on addresses, written in different ways. For example, it should recognize that "22 Acacia Avenue" and "22 acacia av." is the same address. Of course, this can escalate a lot, that's why i'm asking. Thanks in advance. ...

objective c reassign point

I cant wrap my head around this for some reason... I have a class (Model) with an ivar (value). I want to pass the value to a method and change the value ivar to point to something else. This changes the aValue to point to newString. So, how do I get the model.value to point to newString with out saying model.value = newString? (void)a...

Autocomplete Ajax - Get Complete list of Cities by State?

I just tried creating an Event on EventBrite and they have this nice autocomplete input for cities (start typing "san" and it will bring up "San Francisco, California..." and a list of others). What's the best way to do that? Do you need to store that in a local database or do people make those ajax calls to something like google maps ...

How do i edit Values in Visual Studio 2008?

hello im making a application and i need to know how to change the values of address's for example : Memory Address : 0xB7CE50 Value : 100000 Is there a wiki page or a function for this? if so what is it? ...

For buffer overflows, what is the stack address when using pthreads?

I'm taking a class in computer security and there is an extra credit assignment to insert executable code into a buffer overflow. I have the c source code for the target program I'm trying to manipulate, and I've gotten to the point where I can successfully overwrite the eip for the current function stack frame. However, I always get a S...

GDB backtrace does not show the function names

I compiled my library (specifically protbuf-2.3.0) using -g -O0 on a SunOS 5.10. A sample line in the make log is this: /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -pthreads -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -g -O0 -MT text_format.lo -MD -MP -MF .deps/text_for...

What's MAC address ? What is a unique ID for a PC ?

I have a PC with dual cores, it has two MAC addresses : 00-1D.... & 00-21..... Are these IDs for the two cores ? If I want to get hold of a unique ID for this PC, how to get it with a Java call ? Maybe there is something in Java like "System.getId()" ? Frank ...

Retrieve Bluetooth address on the iPhone

Hi, I try to retrieve the Bluetooth (Network) adress on the iPhone within an App but i couldn't find a way how to do that :( Does someone has an idea or hint? That would be great because i stuck for a long time... Cheers, Lars ...

want a good address importer

Hey Can anybody suggest me a good free open source address importer which I can use in my project? Good in the sense that, it should be easy to use and integrate (using Codeigniter framework), and also lightweight. After a long searching i’ve got one: OpenInviter. But, I don’t know how efficient it is. ...

how to find the address of data in memory?

i need to find a way how to find the address's for value of another program. i find the address before hand but i don't know how to find them again after i close and reopen the program with out searching for them again (i need the program to find them on it's own). anyone know how i can do this (sorry if im unclear i don't know how to ex...

Has anyone used Intelligent search's software to verify correct address ?

We are planning to use Correct address software from intelligentsearch Has anyone used their software ? Any feedback on performance ? ...

c++ address string -> long

I got an adress example: 0x003533 , its a string but to use it i need it to be a LONG but i dont know how to do it :S has anybody a solution? so string: "0x003533" to long 0x003533 ?? ...

Allocated memory address clash

Hi, i don't understand how this happen. This is portion of my code.. int isGoal(Node *node, int startNode){ int i; . . } When i debug this using gdb i found out that 'i' was allocated at the memory address that have been previously allocated. (gdb)print &node->path->next $26 = (struct intNode **) 0xffbff2f0 (gdb)...

Free API for Friends Invite from Gmail,Yahoo,AOL,Hotmail PHP Ajax

Hi, i need any opensource api for implementing address book import for friends invite from Gmail,yahoo,hotmail,aol etc ... its may be ajax or php or javascript . openinvite.com is there but i cant download it for loacl testing since it asking valid website domain . conatact grabber is also but got some problem in using it finally i g...