CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: HeapAlloc Error

  1. #1
    Join Date
    Sep 2003
    Location
    Chennai, India
    Posts
    76

    HeapAlloc Error

    Hi,
    When i use HeapAlloc to allocate the memory in the heap i am getting the following error.


    Code:
    pV = HeapAlloc(SesMem, HEAP_ZERO_MEMORY , ulSize);

    Error:

    First-chance exception in App.exe (NTDLL.DLL): 0xC0000005: Access Violation.

    What may be the reason behind this error.

    Thanks in Advance,
    Varadha

  2. #2
    Join Date
    Sep 2002
    Location
    Maryland - Fear The Turtle!
    Posts
    7,537
    please post your project, you have posted before on the heapalloc error. Post your project...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured