Hello Aamir,
I'll see if I can be verbose enough about what I'm experiencing here. I have a completely fresh copy of HASP installed (including a new database). I create a feature of ID 505 (note here that feature ID 505 exists on the two previous products that I cannot remove out of the ACC). I create a product with ID 2001 (which doesn't exist). I create a Provisional for 2001 and create the V2C and the RTE. I run the RTE against my sample Delphi project.
Here's where the confusion begins. When I open the executable and click a button (which makes a call to feature ID 505), I get a message (that I created) that says I do not have access to that feature. In the ACC, it shows that I have a logged in session for product ID 10. Please note, the product ID should be 2001. At this point, 2001 hasn't shown up anywhere in ACC.
From here, I debug my application in Delphi to see the status code that gets returned. I get a status code of 50. According to the Pascal Unit file, this corresponds to the following: Unable to locate any Feature matching scope.
The scope I have defined is exactly the same XML as specified above (with the exception that I have changed the Product ID to 2001).
So my first question: is my XML properly formatted based on what you can tell?
Do you know why the Product ID of 2001 wouldn't be showing up in the ACC even though I have performed all of the necessary steps as shown in the Product Activation Tutorial PDF supplied with the install of HASP? Is it entirely possible that the Product ID is being installed on a different server somehow even though I'm running all of this on my laptop?
As an outline of what my sample project is doing, I created a function that simply uses the scope to determine whether or not they have access to a feature ID that I pass in. If they do, I show a success message. If they do not, I show a deny message.
Am I also correct in assuming that when using the Envelope protection, I can only protect 1 feature at a time? I ask this because we are looking to integrate this into a product that will have many different features. When a customer purchases, they will get access to multiple features. If I can only protect one feature, then should I even be using Envelope to do the protection?
Thanks for your help! I'm sorry if this seems really confusing. I do like what the product has to offer but so far, I haven't been able to get it to work like I need it to.