资源简介
方便不用写代码的给自己开发的软件加密的方法 VProtect,强烈推荐

代码片段和文件信息
#include
#include “resource.h“
//包含Vprotect Sdk头文件
//Include VProtect Sdk HeadFile
#include “..\..\..\sdk\C++\Virtualize_Sdk.h“
#include “..\..\..\sdk\C++\VP_License_Sdk.h“
BOOL Test_GetHardId(HWND HMain)
{
VP_SDK_VIRTUALIZE
char *PHardId = new char[256];
ZeroMemory(PHardId256);
DWORD Len = VP_Sdk_GetHardWareIdA(VP_SDK_INDEX_GETHARDWAREIDAPHardId);
if (Len)
{
SetDlgItemTextA(HMainIDC_HARDIDPHardId);
}
delete []PHardId;
return Len;
}
BOOL Test_GetUserName(HWND HMain)
{
VP_SDK_VIRTUALIZE
char *PUserName = new char[256];
ZeroMemory(PUserName256);
DWORD Len = VP_Sdk_GetUserNameA(VP_SDK_INDEX_GETUSERNAMEAPUserName);
if (Len)
{
SetDlgItemTextA(HMainIDC_HARDIDPUserName);
}
delete []PUserName;
return Len;
}
BOOL Test_RegDeCode(HWND HMain)
{
//使用了注册解码SDK不能和其他加密SDK嵌套
//RegDeCode Sdk Cannot Uses With Other Sdk
if (VP_Sdk_IsRegister(VP_SDK_INDEX_ISREGISTER))
{
VP_SDK_REGDECODE_START
MessageBoxW(HMainL“Reg DeCode Modal A \n Just Run In Register Version“L“VPROTECT“64);
VP_SDK_REGDECODE_END
}
else
{
MessageBoxW(HMainL“Current Is Not Register Version“L“VPROTECT“64);
}
VP_SDK_REGDECODE_START
MessageBoxW(HMainL“Reg DeCode Modal B \n Just Run In Register Version“L“VPROTECT“64);
VP_SDK_REGDECODE_END
}
BOOL OnCommand(HWND hDlgint pEventID)
{
VP_SDK_MUTATION
switch (pEventID)
{
case ID_ISREG:
{
if (VP_Sdk_IsRegister(VP_SDK_INDEX_ISREGISTER))
{
MessageBoxW(hDlgL“This Is Register Version“L“About“64);
}
else
{
MessageBoxW(hDlgL“This Is Demo Version“L“About“64);
}
}
break;
case ID_GETHARDID:
{
return Test_GetHardId(hDlg);
}
break;
case ID_GETUSERNAME:
{
return Test_GetUserName(hDlg);
}
break;
case ID_REGDECODE:
{
return Test_RegDeCode(hDlg);
}
break;
case IDCANCEL:
{
EndDialog(hDlgIDCANCEL);
}
break;
}
return TRUE;
}
INT_PTR CALLBACK DlgProc(HWND hDlg UINT message WPARAM wParam LPARAM lParam)
{
switch (message)
{
case WM_INITDIALOG:
return (INT_PTR)TRUE;
case WM_COMMAND:
return OnCommand(hDlgLOWORD(wParam));
}
return (INT_PTR)FALSE;
}
int APIENTRY WinMain(HINSTANCE hInstance
HINSTANCE hPrevInstance
LPTSTR lpCmdLine
int nCmdShow)
{
DialogBox(hInstance MAKEINTRESOURCE(IDD_VPROTECT) NULL DlgProc);
return 0;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 917504 2011-01-03 18:26 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Bin\Vp_License.dll
文件 2549 2010-09-24 15:17 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Examples\C++\License&Sdk\Example.cpp
文件 33980 2010-07-09 21:07 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Examples\C++\License&Sdk\Lisence.aps
文件 2553 2010-07-09 21:07 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Examples\C++\License&Sdk\Lisence.rc
文件 879 2010-07-09 20:39 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Examples\C++\License&Sdk\Lisence.sln
..A..H. 11264 2010-09-24 15:18 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Examples\C++\License&Sdk\Lisence.suo
文件 4014 2010-09-24 15:18 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Examples\C++\License&Sdk\Lisence.vcproj
文件 763 2010-07-09 21:02 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Examples\C++\License&Sdk\resource.h
文件 951 2010-11-05 13:20 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Examples\C++\SdkMark\C++.cpp
文件 871 2010-09-19 21:19 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Examples\C++\SdkMark\C++.sln
..A..H. 21504 2010-11-05 13:20 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Examples\C++\SdkMark\C++.suo
文件 4716 2010-11-05 13:20 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Examples\C++\SdkMark\C++.vcproj
文件 1 2006-11-20 16:11 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Examples\C++\SdkMark\ClassDiagram1.cd
文件 1159 2010-09-19 21:19 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Examples\C++\SdkMark\ReadMe.txt
文件 208 2010-09-19 21:19 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Examples\C++\SdkMark\stdafx.cpp
文件 233 2010-09-19 21:19 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Examples\C++\SdkMark\stdafx.h
文件 498 2010-09-19 21:19 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Examples\C++\SdkMark\targetver.h
文件 1124 2010-09-24 15:20 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Examples\C++\VersionManager\C++.cpp
文件 871 2010-09-19 21:19 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Examples\C++\VersionManager\C++.sln
..A..H. 21504 2010-09-24 15:20 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Examples\C++\VersionManager\C++.suo
文件 4803 2010-09-24 15:20 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Examples\C++\VersionManager\C++.vcproj
文件 1 2006-11-20 16:11 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Examples\C++\VersionManager\ClassDiagram1.cd
文件 1159 2010-09-19 21:19 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Examples\C++\VersionManager\ReadMe.txt
文件 208 2010-09-19 21:19 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Examples\C++\VersionManager\stdafx.cpp
文件 233 2010-09-19 21:19 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Examples\C++\VersionManager\stdafx.h
文件 498 2010-09-19 21:19 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Examples\C++\VersionManager\targetver.h
文件 0 2010-07-09 16:21 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Examples\Delphi\License&Sdk\C
文件 1857 2010-07-09 17:02 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Examples\Delphi\License&Sdk\Main.dfm
文件 2651 2010-09-24 15:23 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Examples\Delphi\License&Sdk\Main.pas
文件 293 2010-09-24 15:23 VProtect(www.greenxf.com)\809\VProtect_1.9.1.0_Pro\VProtect_1.9.1.0_Pro\Examples\Delphi\License&Sdk\Vp_Example.dpr
............此处省略101个文件信息
- 上一篇:专用集成电路和集成系统自动化设计方法
- 下一篇:光线追踪demo
相关资源
- 根据硬件ID和程序ID生成注册码
- 易语言注册码验证思路模块源码
- 友善串口调试助手V3.7.3,带注册码
- zend studio 12 破解 注册码 key 绿色版
- 最新ZendStudio13.6破解文件+注册码
- CCleaner Pro v5.06.5219中文版(集成注册码
- LibXL for Windows 3.8.3 最新版Excel操作库带
- Advanced.EFS.Data.Recovery4.20(含注册码中
- myeclipse9 注册机(自动生成注册码和激
- Exchange2010标准版/企业版注册码
- SecureCRT7.3注册码
- SecureCRT 8.5.3 Build 1867(X64)原版 + ZW
- 好易用送货单软件2009.06.03(内含注册
- pdf打开密码暴力破解(含注册码)
- Ultraedit_22.20.0.43_64位简体中文版 + 完美
- U盘数据恢复大师含注册码 2014版new
- 瑞美注册码-瑞美破解版-瑞美检验报告
- U盘数据恢复大师含注册码
- 最新版U盘数据恢复大师含注册码new
- K3 注册码调验工具
- 正则表达式工具Regex Match Tracer v2.1+注
- 易我数据恢复(带注册码
- WinHex 17.2 官方简体中文版 + 注册机
- Erwin7.3注册机及Erwin资料
- 有注册码UltraISO9.5简体中文完美破解注
- 2014U盘数据恢复大师含注册码
- WPS2013专业版-有注册码
- 注册码破解工具(专门破解软件小工
- Recovery Toolbox for PDF软件包,含注册码
- OFFICE密码破解AdvancedOfficePasswordRecove
评论
共有 条评论