Error MK_E_UNAVAILABLE  0x800401e3

Top  Previous  Next

This has something to do with the ROT (Running Object Table) not having Inventor in it (yet).


Sometimes even though you have a running Inventor this code:


   hRes = ::GetActiveObject (InvAppClsid, NULL, &pInvAppUnk);

   if (FAILED (hRes)) {


will fail with the error 0x800401e3


I've not been able to understand the underlying problem yet. But one thing to check is that both processes are running at the same level, both non admin for example.


But see this as well.


This could be that you are running the compiler as administrator and Inventor as normal user.






Text, images and diagrams © 2021 Owen F. Ransen. All rights reserved. (But copy the source code as much as you want!)