|
楼主 |
发表于 2008-3-20 19:41:27
|
显示全部楼层
/*
以下片段由Proteus VSM SDK 抽出
Obtaining Product IDs for your Models
If you are developing models for private use only, you can use Private Development Keys.
These are supplied as standard with Proteus VSM Professional, and lie in the range
0x3FFFFF00 -> 0x3FFFFFFFF
Note that since no two VSM DLLs may authorize on the same product key,
these values are not suitable for use in models that will be distributed publicly.
If you are developing models for general distribution or re-sale,
you will need to obtain an allocation of unique product IDs from us.
You can do this by emailing us at info@labcenter.co.uk.
We will supply you with a base value from which to allocate Product IDs,
and a product key file that enables these IDs for your copy of Proteus VSM.
*/
extern "C" IDSIMMODEL __declspec(dllexport) * createdsimmodel (CHAR *device, ILICENCESERVER *ils)
{
ils->authorize(0x3FFFFF00, 0x72);
return new DSCOUNTER;
} |
|