MIP SDK C++ 2021R1 MediaLiveServiceJPG problems.

Hi everyone!

Today, i try C++ example for getting current image of specific camera in Milestone.

When try MediaLiveServiceJPG, after login, i got crash at line:

// Create source toolkit instance
      ImToolkit *toolkit = factory->CreateInstance(config);

Unhandled exception at 0x00007FFE9E744ED9 in MediaLiveServiceJPEG.exe: Microsoft C++ exception: xercesc_3_2::OutOfMemoryException at memory location 0x0000003B75FCD981.

So, could you show me how to fix this problem.

Thanks in advance!

Nam.

I asked my colleagues regarding this issue and realized that it works if you run the sample in Release mode, without changing anything else. So please run in release mode.

It’s resolved!!! Thank you very much!