Woll2Woll InfoPower Studio v20.0.2.3 for XE10.3 RIO = OK!
--------------------- FOR DISABLE THE REGISTRATION FOREVER! ---------------------------------
1) comment the line in "procedure Register;" - then, "function CheckRegistration", never will be executed!
// if not CheckRegistration then
// exit;
**********************************************************************************************
0) I ALWAYS USE C:\EMBARCADERO as <<ROOT>> to my components install and RAD Studio!
1) -- SETTING PATH SEARCHES:
-- Win32 and Win64
-------------------------
- Library Path => <<InfoPower4kRIO_path_root>>\source\windows (and [ <<InfoPower4kRIO_path_root>>\bin\20.0\Win32\Debug / ..\Win64\Debug ] if necessary)
- Browser Path => <<InfoPower4kRIO_path_root>>\source\windows
- DCU Debug Path => <<InfoPower4kRIO_path_root>>\bin\20.0\Win32\Debug / ..\Win64\Debug
2) -- <<dir_root>>\lib\*.* YOU DONT NEED IT ANYMORE!
3) -- the "BPL", "DCP" files, will be in "C:\Users\Public\Documents\Embarcadero\Studio\20.0" for default now!
4) -- your binarys (DCU, etc...) will be in "..\Bin\$(Platform)\$(Config)" -- Ex.: ..\Bin\Win32\Debug or ..\Win64\Debug
***********************************************************************************************************************************
---- NOW IT WILL INSTALL AND WORKS IN YOUR IDE!
--------------------- VERIFICATION REQUIRED BY ORIGINAL INSTALLER FROM WOLL2WOLL WHEN BPL IS INSTALLED OR LOADED BY "IDE"
--> 'c:\users\public\documents\InfoPower4k\20.0\demos\FirstTime.txt';
--> c:\ProgramData\Woll2Woll\Licensing\InfoPower4kRio.ini
ERROR WHEN TRY COMPILER AND INSTALL BY IDE GROUP FILE MANUALLY:
---> see the line with: "stat:= ShellExecute(Application.handle, 'open', PChar(path + '\RegisterW2W4.exe'), PChar(cmdLine), nil, sw_shownormal);"
Error validating Woll2Woll Registration Software: 2
\RegisterW2W4.exe
---> see the line with "if stat=2 then" and "path" value
If you have not done so, please install software using a user account with administrative privileges.
---> see the line with "if (path='29825') then" ---> return TRUE and all its ok on verification
if (path='29825') then
begin
result:=true;
exit;
end;
----------------------------------------------------------------------------------------------
function CheckRegistration: boolean;
var cmdLine, Path: string;
IPStudioReg: TRegIniFile;
IPStudioRegInstall: TIniFile;
count, checkSum: integer;
stat: integer;
ProgramData, regMask, RootDir: string;
installFileName: string;
FirstTime: string;
FirstTimeFileName: string;
publicDocDir: string;
pathsUpdated: boolean;
procedure AddSearchPath(Dir: string);
var NewSearchPath: string;
tempDir: string;
begin
tempDir:= rootDir + '\lib\20.0\';
if Dir.ToLower='android32' then
tempDir:= tempDir + 'android'
else
tempDir:= tempDir + dir;
NewSearchPath:= IPStudioReg.ReadString('\Software\Embarcadero\BDS\20.0\Library\' + Dir, 'Search Path', '');
if pos(RootDir.tolower, NewSearchPath.tolower)<=0 then
begin
NewSearchPath:= tempDir+ ';' + NewSearchPath;
IPStudioReg.WriteString('\Software\Embarcadero\BDS\20.0\Library\' + Dir, 'Search Path', NewSearchPath);
pathsupdated:= true;
end;
end;
begin
cmdLine := '"' + regProductName + '" "Software\Woll2Woll\' + registryName + '"';;
//cmdLine:= cmdLine + ' SupportTrialInstall';
cmdLine:= cmdLine + ' SupportTrial';
{$ifdef wwEmbarcaderoVersion}
cmdLine:= cmdLine + ' 10'; // support multiple versions in the future for Embarcadero Version
{$endif}
IPStudioReg := TRegIniFile.Create('');
ProgramData:= Sysutils.GetEnvironmentVariable('ALLUSERSPROFILE');
path:= IPStudioReg.ReadString('\Software\Woll2Woll\' + registryName, 'RegDir', '');
installFileName:= ProgramData + '\Woll2Woll\Licensing\' + registryName + '.ini';
publicDocDir:= GetPublicDoc; //IPStudioReg.ReadString('\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders',
FirstTimeFileName:= publicDocDir +'\InfoPower4k\20.0\demos\FirstTime.txt';
if (path='') or FileExists(FirstTimeFileName) then // Must be user acount so copy local to user
begin
if FileExists(installFileName) then
begin
IPStudioRegInstall := TIniFile.Create(installFileName);
path:= IPStudioRegInstall.ReadString('Install', 'RegDir', '');
Regmask:= IPStudioRegInstall.ReadString('Install', 'RegMask', '');
Rootdir:= IPStudioRegInstall.ReadString('Install', 'RootDir', '');
IPStudioRegInstall.Free;
if regMask<>'' then
IPStudioReg.WriteString('\Software\Woll2Woll\' + registryName, 'RegMask', regMask);
if rootDir<>'' then
IPStudioReg.WriteString('\Software\Woll2Woll\' + registryName, 'RootDir', rootDir);
if path<>'' then
IPStudioReg.WriteString('\Software\Woll2Woll\' + registryName, 'RegDir', path);
if FileExists(FirstTimeFileName) then
TFile.Delete(FirstTimeFileName);
if RootDir<>'' then
begin
AddSearchPath('Win32');
AddSearchPath('Win64');
end;
if pathsUpdated then
MessageDlg(
'RAD Studio Library paths updated for InfoPower.' + #13
+ 'Please restart Delphi for them to take effect.',
TMsgDlgType.mtInformation, [TMsgDlgBtn.mbok], 0);
end
else begin
showmessage('InfoPower Registration File not found: ' + installFileName);
end;
end;
if (path='29825') then
begin
result:=true;
exit;
end;
// Clear Registry result value
IPStudioReg.WriteInteger('\Software\Woll2Woll\' + registryName, 'Checksum', 0);
result:= false;
try
{$ifdef Unicode}
//stat:= ShellExecute(0, 'open', PChar(path + '\RegisterW2W4.exe'), PChar(cmdLine), nil, sw_shownormal);
stat:= ShellExecute(Application.handle, 'open', PChar(path + '\RegisterW2W4.exe'), PChar(cmdLine), nil, sw_shownormal);
if stat=2 then
begin
Showmessage('Error validating Woll2Woll Registration Software: ' + inttostr(stat) + #13 +
path + '\RegisterW2W4.exe' + #13#13 +
'If you have not done so, please install software using a user account with administrative privileges.');
exit;
end;
{$else}
stat:= ShellExecute(Application.handle, 'open', PAnsiChar(path + '\RegisterW2W4.exe'), PAnsiChar(cmdLine), nil, sw_shownormal);
if stat=2 then begin
Showmessage('error running registration software: ' + inttostr(stat));
exit;
end;
{$endif}
// Test if Registry result value is set and if not passed then exit
count := 0;
repeat
sleep(1000);
checkSum:= 0;
checkSum:= IPStudioReg.ReadInteger('\Software\Woll2Woll\' + registryName, 'Checksum', checkSum);
if (checkSum>0) then
begin
result:= true;
break;
end
else if (checkSum<0) then begin
result:= false;
break;
end;
inc(count);
until count>180000;
finally
IPStudioReg.DeleteKey('\Software\Woll2Woll\' + registryName, 'Checksum');
IPStudioReg.Free;
end;
end;
procedure Register;
var
MainPaletteName, PrefixPaletteName: string;
begin
if not CheckRegistration then
exit;
{$IFDEF wwEmbarcaderoVersion}
MainPaletteName := 'InfoPower Grids';
PrefixPaletteName := 'InfoPower';
{$ELSE}
MainPaletteName := 'InfoPower Controls';
PrefixPaletteName := 'InfoPower';
{$ENDIF}
RegisterComponents(MainPaletteName, [TwwDBGrid]);
RegisterComponents(MainPaletteName, [TwwDataInspector]);
RegisterComponents(MainPaletteName, [TwwDBEdit]);
RegisterComponents(MainPaletteName, [TwwDBComboBox]);
RegisterComponents(MainPaletteName, [TwwD
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
Woll2Woll InfoPower 4K for RIO v20.0.2.3 Full source (973个子文件)
Tile5.BMP 3KB
Tile7.BMP 3KB
Tile6.BMP 3KB
Tile3.BMP 3KB
Tile2.BMP 3KB
Tile4.BMP 3KB
Tile1.BMP 3KB
parchmentsmall.bmp 598B
Pdemo.cbproj 43KB
customer.cds 14KB
infopower.chm 4.21MB
infopower.chw 400KB
Demo.cpp 11KB
monthcalu.cpp 9KB
Wwsavflt.cpp 7KB
Filtdlg.cpp 7KB
rcdpnldemo2.cpp 6KB
Grdbitmp.cpp 6KB
dtpicker.cpp 6KB
DataInspectorU.cpp 5KB
Combos.cpp 5KB
rcdvw.cpp 5KB
multi.cpp 4KB
Rcdpnldemo.cpp 3KB
savefilt.cpp 3KB
Pictures.cpp 3KB
Grdlook.cpp 3KB
GridMasterDetail.cpp 3KB
isearch.cpp 2KB
Pdemo.cpp 2KB
DemoLoc.cpp 2KB
navigatorcomb.cpp 2KB
Grdbttn.cpp 1KB
gridctrl.cpp 1KB
Grdmemo.cpp 1KB
GridExpand.cpp 1KB
Lkdtl.cpp 1KB
dbchecku.cpp 1KB
Lkquery.cpp 1022B
Selfilt.cpp 1018B
SearchDemo.cpp 848B
navmany.cpp 742B
mnthyear.cpp 583B
IP4ZIP.DB 170KB
IP4ZIP.DB 170KB
orders.db 70KB
orders.db 70KB
Ip4cust.DB 50KB
Ip4cust.DB 50KB
items.db 38KB
items.db 38KB
customer.db 18KB
customer.db 18KB
MASTER.DB 16KB
PICTURE.DB 16KB
PICTURE.DB 16KB
MASTER.DB 16KB
Ip4inv.DB 12KB
Ip4inv.DB 12KB
checks.db 6KB
Employee.DB 6KB
checks.db 6KB
Employee.DB 6KB
Thumbs.db 5KB
datetime.DB 4KB
INDUSTRY.DB 4KB
datetime.DB 4KB
INDUSTRY.DB 4KB
clients.DBF 3KB
clients.DBF 3KB
clients.DBT 117KB
clients.DBT 117KB
vcl.wwdbigrd.dcu 333KB
Vcl.wwDataInspector.dcu 206KB
vcl.wwintl.dcu 192KB
Vcl.wwriched.dcu 189KB
vcl.wwdblook.dcu 168KB
vcl.Wwdbdatetimepicker.dcu 139KB
vcl.wwtreeview.dcu 134KB
vcl.wwbutton.dcu 131KB
vcl.wwprpedt.dcu 130KB
vcl.Wwcommon.dcu 122KB
vcl.Wwfltdlg.dcu 113KB
vcl.wwdbgrid.dcu 109KB
Vcl.wwcheckbox.dcu 98KB
vcl.Wwdbedit.dcu 96KB
vcl.wwDesign.dcu 90KB
vcl.Wwrcdvw.dcu 76KB
vcl.wwquery.dcu 71KB
vcl.Wwdbcomb.dcu 68KB
vcl.wwdbnavigator.dcu 68KB
vcl.Wwexport.dcu 67KB
vcl.wwquery.dcu 66KB
vcl.wwmonthcalendar.dcu 66KB
vcl.wwtable.dcu 61KB
vcl.Wwkeycb.dcu 58KB
vcl.wwradiogroup.dcu 58KB
vcl.wwInspectorPrpEdt.dcu 58KB
Vcl.wwIDlg.dcu 56KB
vcl.wwtable.dcu 54KB
共 973 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10
资源评论
- supermay2019-11-30这个可用,但DataSet部分不能编译,后来看到2CCC上也有
npkaida
- 粉丝: 189
- 资源: 318
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于esp8266和dht11温湿度传感器制作的远程温湿度监控程序,温度、湿度通过mqtt协议方式上传OneNet平台
- 人染色体长度表(数据来自bilibili:基因学苑)
- 基于ASP.NET简易博客网站的设计与实现(源代码+论文).rar
- 在PyCharm中配置Python环境步骤
- 在PyCharm中配置Python环境步骤
- Lightroom-Premium-v9.2.2_build_710902200-Mod.apk
- 拾放机构3D 拾放机构3D
- Spring整合Mybatis+Spring事务快速入门(纯注解)
- 1990-2024年1月上证 深证指数日线行情
- html/css练习作业摇晃的桃子
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功