How to enter license key using naked dll ?

  • Hello,

    How to enter the license name, key and number correctly using the naked DLL? (That is having done CreateWindow on the right class and sending messages to the window) ?

    Should this be valid ?
    const char* lickey= "....";
    unsigned liccode = ....;
    SendMessage(WM_USER+77, 290, (LPARAM)lickey);
    SendMessage(WM_USER+79, 1290, liccode);

    Or is using the strange 'TWPComRecStruct' I see in the csharp interface along with SendMessage(WM_USER+85, ...) the only way to succeed ?