Problem with SNHook



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 30/11/2011 at 14:59, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   R12 
    Platform:   Windows  ;   
    Language(s) :     C++  ;

    ---------
    I've got myself in a slight difficulty with the registration code for my plugin. I'm using SNHook and it works fine. However, I've managed to register my plugin with a demo serial number and I can't 'un-register' it. I need to retest the code since I've made some changes to the serial number checker, but Cinema now thinks the plugin is registered and I can't see how to make it so I can register it again.

    Surely I don't get just one attempt to try my registration code? What am I missing? I've tried deleting the prefs but it didn't change the plugin registration.

    Thanks,

    Steve



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 01/12/2011 at 07:02, xxxxxxxx wrote:

    Just to add to this, the problem seems to be that in the SNCheck function, regdate is set to 0 and hasn't been updated. Presumably it should have a long value calculated from the registration date (yesterday, as it happens).

    I see a lot of other people have had the same problem. How do I solve this one (or can I solve it)? Can I set regdate myself somehow?


Log in to reply