/*****************************************************************************
*
* xclm.c - A replacement license server for Microchip embedded compilers
*
*****************************************************************************/
int main(int argc, char *argv[])
{
int license = LICENSE_FREE;
int ii;
for (ii = 0; ii < argc; ++ii)
{
if (!strcmp(argv[ii], "swxc32") ||
!strcmp(argv[ii], "swxc16") ||
!strcmp(argv[ii], "swxc8"))
{
license = LICENSE_PRO;
}
else if (!strcmp(argv[ii], "swxcpp32"))
{
license = LICENSE_CPPFULL;
}
else if (!strcmp(argv[ii], "-hash"))
{
int index = atoi(argv[ii+1]);
printf("%.10s", &XC8_KEY[index]);
}
}
return license;
}
Name:
Anonymous2013-05-16 19:23
>>10
ultimate windoze hax0r tool .. you cant program in msdos now can u, plus notepad requires less resources than a console. so its pretty efficunt. u can install addon to get colored syntax so its bretty gud bro