#include <stdio.h> #include <stdlib.h> #include <string.h> int main() { int buf[30]; char sbuf[100]; int i, cnt=0; printf("EMULive Pro Video Producer v3.98b License Key Generator\n"); printf("Enter the system code from EMULive registration dialog\n>"); gets(sbuf); cnt = strlen(sbuf); if (cnt & 1) { printf("Invalid system code\n"); return 1; } cnt >>= 1; for (i=0; i<cnt; i++) if (sscanf(sbuf + (i << 1), "%2x", buf + i) == 1) buf[i] ^= 0x40; else { printf("Invalid system code\n"); return 1; } printf("\nSystem Key : "); for (i=0; i<cnt; i++) printf("%02X", buf[i]); printf("\n"); printf("\nEnter the above key into your EMULive Pro registration dialog (all CAPS)\n"); return 0; }