Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ Leda > Access violatio...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 175 of 212
Post > Topic >>

Access violation - Malloc problem

by "Rossel Nathanaël" <nathanael.rossel@[EMAIL PROTECTED] > Nov 8, 2004 at 11:06 AM

146:    unsigned short *sDate;
147:
148:    sDate = (unsigned short *)malloc(100);
17E4157C 6A 64                push        64h
17E4157E E8 05 4C 00 00       call        malloc (17e46188)
17E41583 83 C4 04             add         esp,4
17E41586 89 45 FC             mov         dword ptr [sDate],eax


When running only the line 17E4157E (malloc), I get next error :

First Chance Exception in : 0xC0000005: Access Violation




 2 Posts in Topic:
Access violation - Malloc problem
"Rossel Nathanaël&qu  2004-11-08 11:06:29 
Re: Problem resolved !
"Rossel Nathanaël&qu  2004-11-08 16:18:39 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue May 13 3:57:55 CDT 2008.