CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2002
    Location
    Holland
    Posts
    279

    Stop 0xC2 or BAD_POOL_CALLER

    Hi,

    I got a small problem. A customer of mine has had the following crash.
    Stop 0xC2 or BAD_POOL_CALLER
    0x00000040 Starting address Start of system address space This value is always zero Attempt to free usermode address to kernel pool

    I found the area of the problem, but I have some questions about stl.

    in one of our communication classes we use:
    vector<string> masAcceptedIdentificationResponses;

    constructor:
    NIGPIB::NIGPIB(const int vnBoard, const int vnPrim, const int vnSec) : masAcceptedIdentificationResponses(0)

    I think the problem is caused in one "driver" we create the object dynamically and with the other we inherate this class.

    Can someone tell if I am right or totally wrong?
    I do not mind being wrong, but I have been looking at this code for about 8 hours and I am starting to run out of options.

    any points would be great,

    Jewe
    A VB programmer trying to stay alive in a Real C World

    If the hardware is so great.. why use software to correct it..?? It will only slow it down..
    Al is de hardware nog zo snel de software achterhaalt het wel

  2. #2
    Join Date
    Feb 2004
    Posts
    45

    Re: Stop 0xC2 or BAD_POOL_CALLER

    Mabe you should try to recreate the "crash" in small scale.
    Write a small program to do that and then ask your question again.

  3. #3
    Join Date
    Mar 2002
    Location
    Holland
    Posts
    279

    Re: Stop 0xC2 or BAD_POOL_CALLER

    Dude,

    If I could recreate the problem then I would be the luckiest man on the planet. the thing is that I can not reproduce it..
    A VB programmer trying to stay alive in a Real C World

    If the hardware is so great.. why use software to correct it..?? It will only slow it down..
    Al is de hardware nog zo snel de software achterhaalt het wel

  4. #4
    Join Date
    Jul 2005
    Location
    Germany
    Posts
    1,194

    Re: Stop 0xC2 or BAD_POOL_CALLER

    Please don't forget to rate users who helped you!

  5. #5
    Join Date
    Mar 2002
    Location
    Holland
    Posts
    279

    Re: Stop 0xC2 or BAD_POOL_CALLER

    Solution to this problem was installing the latest GPIB drivers
    A VB programmer trying to stay alive in a Real C World

    If the hardware is so great.. why use software to correct it..?? It will only slow it down..
    Al is de hardware nog zo snel de software achterhaalt het wel

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