This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- FlexNet Publisher
- :
- FlexNet Publisher Knowledge Base
- :
- Can you create a binary that contacts both server and client trusted storage?
Subscribe
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Can you create a binary that contacts both server and client trusted storage?
Can you create a binary that contacts both server and client trusted storage?
Summary
Can you create a binary that contacts both server and client trusted storage?Question
I am currently writing a DLL that is supposed to loop through the local and server side trusted storagesto list the contents. It works fine to get the number of products in client trusted storage using
code like this:
if (!flxActCommonHandleOpen(&myServerHandle, FLX_ACT_APP, &myServerError))
{
printf("Failed to open server handle");
return false;
}
if (!flxActCommonLicSpcCreate(myServerHandle, &myServerlicense))
{
printf("Failed to create LicSpc\n");
return false;
}
if (!flxActCommonLicSpcPopulateFromTS(myServerlicense))
{
printf("Failed to populate from TS\n");
return false;
}
noOfProducts = flxActCommonLicSpcGetNumberProducts(myServerlicense);
printf("Found %i server products!\n", noOfProducts);
However, if I replace the FLX_ACT_APP with FLX_ACT_SVR to get data from server trusted storage,
the flxActCommonHandleOpen call fails with major error code 5005, minor error code 71040, and syserrno 23.
What could be the cause of this problem?
I would like to have one DLL that reads both from client side trusted storage and server side trusted storage.
Are there any known problems related to doing it this way?
Answer
You can't do this as a single DLL, as they can only be prepped for one type. So you'd need 2 DLLs, one for the server and one for the client. Then the main utility could make calls to either one.
No ratings