🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
1 messages
1 total messages Started by BeyondEngineering Wed, 02 Aug 2006 20:03
Pointers in Protected Memory BCB-6
#3222
Author: BeyondEngineering
Date: Wed, 02 Aug 2006 20:03
21 lines
1643 bytes
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"

Does anyone know how can I solve this issue??

Any answer is really appreciated.

Regards,
Elkin.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads