chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes

Exception thrown at 0x791098DA (IsolatorCore.dll) in GTest.exe: 0xC0000005: Access violation writing location 0x00000018.

in IsolatorINternals.h, line 790:

    INLINE PVOID __try_fake(PCSTR szObj, size_t nSize, int nType, ...)

    {

        TRAP( va_list vl; va_start(vl, nType); PVOID res = __fake(szObj, nSize, nType, &__ImageBase, vl); va_end(vl); return res; ) return NULL;

    }

asked by poiut (600 points)
Isolator Version 4.0 (32 bit)

gtest framework

class DLLEXPORT IPnr : public CString

{ ...

static IPnr::eTypeOfPnr GetTypeOfPnr();

}

FAKE_STATICS<IPnr>();WHEN_CALLED(IPnr::GetTypeOfPnr()).Return(IPnr::eFinnish);

Hi Poiut,

Can you please open a ticket via our ticket portal.

Click "Premium support" under the "Support" tab and then click "New Support Ticket".

Please enter all the relevant details and questions, it will streamline the process.

Cheers,

Alon Sapozhnikov

Support Speciallist.

1 Answer

0 votes

Hi Poitu,

Can you please give me more details such as the code you are testing, the test itself, the Isolator++ version?

Also, are you using the gtest framework or mstest framework?

Can you please describe me the stages you did linking the project to Isolator++ DLL's?

Cheers,

Alon Sapozhinkov.

Support Specialist.

answered by Alon_TypeMock (10.6k points)
...