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 12:10 Go to next message
I9_Processor I9_Processor is currently offline I9_Processor I9_Processor
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 08:57 Go to previous message
I9_Processor I9_Processor is currently offline I9_Processor I9_Processor
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: Wed Jul 23 18:15:10 EDT 2014

Powered by FUDForum. Page generated in 0.02196 seconds