Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Cannot access memory at address 0x1 - Error(Error While Dubugging with MInGW)
Cannot access memory at address 0x1 - Error [message #861530] Sat, 28 April 2012 16:10 Go to next message
I9_Processor I9_Processor is currently offline I9_Processor I9_ProcessorFriend
Messages: 2
Registered: April 2012
Junior Member
Hi All,

I am just trying to debug my first Win32 program with CDT-Eclipse....

I am getting the following errors while debugging the program....
[New Thread 3256.0x498]
Cannot access memory at address 0x1
Cannot access memory at address 0x1
Cannot access memory at address 0x1

Not facing any problem while building or running....

Informations:

OS : Windows Xp 7
Eclipse Version : Indigo
Tool Chain : Mingw

Using makefile to build instead of Internal Builder....

Followed the instructions specified at the below link to build the Win32 program:
bitvector.net/?p=75

Also, followed the below link as well to correct the debugging process:
eclipse.org/forums/index.php/m/781309/

The program that i am executing is :

#include <windows.h>

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow) {
MessageBox(NULL, "Goodbye, cruel world!", "Note", MB_OK);
return 0;
}



Please help me to move on......

Re: Cannot access memory at address 0x1 - Error [message #865537 is a reply to message #861530] Mon, 30 April 2012 12:57 Go to previous message
I9_Processor I9_Processor is currently offline I9_Processor I9_ProcessorFriend
Messages: 2
Registered: April 2012
Junior Member
Guys, Please answer my question... Is this exact forum where should i post my question? Or under Any other category?
Previous Topic:No source available for "_start() at 0x8049b73"
Next Topic:breakpoint commands list
Goto Forum:
  


Current Time: Thu Mar 28 20:08:12 GMT 2024

Powered by FUDForum. Page generated in 0.02016 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top