用installshield制作安装盘的问题??
function sx_test()
string sx_path;
NUMBER sx_size,nvSize;
begin
RegDBSetDefaultRoot (HKEY_LOCAL_MACHINE);
RegDBGetKeyValueEx ("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\App Paths\\gz_app.exe", "path", REGDB_STRING, sx_path, nvSize);
RegDBSetKeyValueEx (szKey, szName, nType, szValue, nSize);
end;
我想得到我的注册路径,它老提示我以下错误,其实我的变量是已经申明过的,大家看看是怎么回事,急呀??
Compiling...
Folder: <C:\My Installations\Your Setup Project Name\Script Files>
Setup.Rul(56): error C8046: '1' : numeric variable required
Setup.Rul(192): warning W7503: 'sx_test' : function defined but never called
Done- 1 error(s), 1 warning(s)