Getting an error while creating new instance for apprentice server

-1

What should I do for creating instance for apprentice server by preventing that issue:

ApprenticeServerComponent^ invServer = nullptr;
ApprenticeServerDocument^ invDoc = nullptr;
Type^ type;
type = Type::GetTypeFromProgID("Inventor.ApprenticeServer");
invServer = (ApprenticeServerComponent^)Activator::CreateInstance(type);

Exception thrown at 0x00007FFEC0A4C883 (rse.dll) in ConsoleApplication10.exe: 0xC0000005: Access violation writing location 0x00007FF49CEA1F38.

c++-cli
asked on Stack Overflow Oct 24, 2019 by bhaskar reddy • edited Oct 24, 2019 by Aksen P

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0