View Full Version : Microsoft C++ exception: FNPNS::TSM::CDoesNotExistException at memory location ...

01-13-2009, 09:26 AM
Microsoft C++ exception: FNPNS::TSM::CDoesNotExistException at memory location...

What's the cause for this exception? We have this in our native C++ projects using the FNP 11.6 API and Visual Studio 2005 (not causing any crashes). It seems to occur at every API function call.

The exception comes from FLEXnet Publisher at every API call and seems to be handled internally by FNP.

02-02-2009, 07:11 AM
Ok, since nobody seems to know anything about this I'll post the answer I got from the support:

These exceptions are thrown by design to communicate that an object or section, for example, does not exist in trusted storage. It is often completely valid for such an item not to exist in Trusted Storage.

The ATL exception similarly is thrown by Microsoft design, from memory it is related to our setting ATL security code.

Whilst a concern for the performance impact of exception throwing has historically been an issue, this is regarded as less so nowadays. The time for exception throwing/catching a standard exception is in the region of a 1000th of a millisecond – at least on Windows.