1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

unhandled exception of type 'System.Runtime.InteropServices.SEHException'

Discussion in 'C++' started by leon22, Aug 28, 2010.

  1. leon22

    leon22 New Member

    Joined:
    Aug 28, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Error


    Code:
    An unhandled exception of type 'System.Runtime.InteropServices.SEHException' occurred in IsoModuleTest.exe

    Additional information: External component has thrown an exception.
    result in mlock.c

    Code:
    void __cdecl _unlock (
    int locknum
    )
    {
    /*
    * leave the critical section.
    */
    LeaveCriticalSection( _locktable[locknum].lock );
    } following usage:

    Code:
    Class A

    in h: vector *testVector;

    ClassA::ClassA()
    {
    testVector = new std::vector();
    ...
    }

    ClassA::DoSomething()
    {
    ClassB *classB = new ClassB(testVector);

    }

    Class B

    in h: vector *testVectorB;

    ClassB::ClassB(vector *testVector)
    {
    testVectorB = testVector;
    ...
    }

    I don't understand this weird error !

    It would be very nice if someone can help me !?


    greets leon22
     

Share This Page