Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

About Access Violations

Status
Not open for further replies.

atoledo

Programmer
Oct 14, 2002
16
ES
HI! I´m new programming in C++ in a multhreading environment. Please somebody know what´s happening when I´m debugging and I obtained an Access Violation at this point:

35373533 ???

What does it mean?

Thanks!...

The cursos comes from a function and instead of returning to the caller function goes to that point

Thanks in advance!
 
>> Access Violation

That term generally indicates that a memory write operation was attempted to a memory address that was not allocated by the application.

Code:
char* notalloced;
memcpy( notalloced, buf, strlen(buf));


-pete
I just can't seem to get back my IntelliSense
 
ahhhh ok! so

what can i do to allocate memory?

Thank's
 
malloc, new, HeapAlloc, calloc.... to name a few....


Greetings,
Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top