Read Memory Error

Moderador: yalmar

Foro cerrado salvo peticion.

Read Memory Error

Notapor egonzalez » Mar Ago 08, 2006 8:39 am

Hi,

At this time I'm working with this piece of code using C++ Builder 6.0:


/*-------------------------------*/
PCHAR info;


info=(char*)(0xFFFF5); //Memory location 0xFFFF5
char p = *info; // p stores the byte at the location
pointed by info


/*----------------------------------*/


But when the program reaches the third line of code (char p = *info) an Exception occurs saying: "Acces violation Read of address 0FFFF5" :oops:


Does anyone know how can I solve this issue?? Maybe using assembler?? :?:


Any answer is really appreciated.


Regards,
Elkin.
egonzalez
Novato
Novato
 
Mensajes: 1
Registrado: Mar Ago 08, 2006 8:35 am


    

Volver a C++ Builder

¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 1 invitado