方便不用写代码的给自己开发的软件加密的方法 VProtect,强烈推荐
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 917504 2011-01-03 18:26 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProBinVp_License.dll
文件 2549 2010-09-24 15:17 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++License&SdkExample.cpp
文件 33980 2010-07-09 21:07 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++License&SdkLisence.aps
文件 2553 2010-07-09 21:07 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++License&SdkLisence.rc
文件 879 2010-07-09 20:39 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++License&SdkLisence.sln
..A..H. 11264 2010-09-24 15:18 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++License&SdkLisence.suo
文件 4014 2010-09-24 15:18 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++License&SdkLisence.vcproj
文件 763 2010-07-09 21:02 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++License&Sdk
esource.h
文件 951 2010-11-05 13:20 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++SdkMarkC++.cpp
文件 871 2010-09-19 21:19 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++SdkMarkC++.sln
..A..H. 21504 2010-11-05 13:20 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++SdkMarkC++.suo
文件 4716 2010-11-05 13:20 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++SdkMarkC++.vcproj
文件 1 2006-11-20 16:11 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++SdkMarkClassDiagram1.cd
文件 1159 2010-09-19 21:19 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++SdkMarkReadMe.txt
文件 208 2010-09-19 21:19 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++SdkMarkstdafx.cpp
文件 233 2010-09-19 21:19 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++SdkMarkstdafx.h
文件 498 2010-09-19 21:19 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++SdkMark argetver.h
文件 1124 2010-09-24 15:20 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++VersionManagerC++.cpp
文件 871 2010-09-19 21:19 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++VersionManagerC++.sln
..A..H. 21504 2010-09-24 15:20 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++VersionManagerC++.suo
文件 4803 2010-09-24 15:20 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++VersionManagerC++.vcproj
文件 1 2006-11-20 16:11 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++VersionManagerClassDiagram1.cd
文件 1159 2010-09-19 21:19 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++VersionManagerReadMe.txt
文件 208 2010-09-19 21:19 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++VersionManagerstdafx.cpp
文件 233 2010-09-19 21:19 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++VersionManagerstdafx.h
文件 498 2010-09-19 21:19 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++VersionManager argetver.h
文件 0 2010-07-09 16:21 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesDelphiLicense&SdkC
文件 1857 2010-07-09 17:02 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesDelphiLicense&SdkMain.dfm
文件 2651 2010-09-24 15:23 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesDelphiLicense&SdkMain.pas
文件 293 2010-09-24 15:23 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesDelphiLicense&SdkVp_Example.dpr
............此处省略101个文件信息
#include
#include “resource.h“
//包含Vprotect Sdk头文件
//Include VProtect Sdk HeadFile
#include “......sdkC++Virtualize_Sdk.h“
#include “......sdkC++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
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
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)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProBinVp_License.dll
文件 2549 2010-09-24 15:17 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++License&SdkExample.cpp
文件 33980 2010-07-09 21:07 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++License&SdkLisence.aps
文件 2553 2010-07-09 21:07 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++License&SdkLisence.rc
文件 879 2010-07-09 20:39 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++License&SdkLisence.sln
..A..H. 11264 2010-09-24 15:18 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++License&SdkLisence.suo
文件 4014 2010-09-24 15:18 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++License&SdkLisence.vcproj
文件 763 2010-07-09 21:02 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++License&Sdk
esource.h
文件 951 2010-11-05 13:20 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++SdkMarkC++.cpp
文件 871 2010-09-19 21:19 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++SdkMarkC++.sln
..A..H. 21504 2010-11-05 13:20 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++SdkMarkC++.suo
文件 4716 2010-11-05 13:20 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++SdkMarkC++.vcproj
文件 1 2006-11-20 16:11 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++SdkMarkClassDiagram1.cd
文件 1159 2010-09-19 21:19 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++SdkMarkReadMe.txt
文件 208 2010-09-19 21:19 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++SdkMarkstdafx.cpp
文件 233 2010-09-19 21:19 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++SdkMarkstdafx.h
文件 498 2010-09-19 21:19 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++SdkMark argetver.h
文件 1124 2010-09-24 15:20 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++VersionManagerC++.cpp
文件 871 2010-09-19 21:19 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++VersionManagerC++.sln
..A..H. 21504 2010-09-24 15:20 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++VersionManagerC++.suo
文件 4803 2010-09-24 15:20 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++VersionManagerC++.vcproj
文件 1 2006-11-20 16:11 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++VersionManagerClassDiagram1.cd
文件 1159 2010-09-19 21:19 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++VersionManagerReadMe.txt
文件 208 2010-09-19 21:19 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++VersionManagerstdafx.cpp
文件 233 2010-09-19 21:19 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++VersionManagerstdafx.h
文件 498 2010-09-19 21:19 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesC++VersionManager argetver.h
文件 0 2010-07-09 16:21 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesDelphiLicense&SdkC
文件 1857 2010-07-09 17:02 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesDelphiLicense&SdkMain.dfm
文件 2651 2010-09-24 15:23 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesDelphiLicense&SdkMain.pas
文件 293 2010-09-24 15:23 VProtect(www.greenxf.com)809VProtect_1.9.1.0_ProVProtect_1.9.1.0_ProExamplesDelphiLicense&SdkVp_Example.dpr
............此处省略101个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)