Hi Dahall,
thank you for your reply.
Yes, I have UAC enabled (Default - Notify me only when programs try to make changes to my computer) and probably that's the reason why I cannot register using the API.
If I launch my application "As Administrator", it registers successfully.
The problem is that "Access is denied" error comes out for several and different reasons...
Thank you, bye! Valentina