L
lj
Unregistered / Unconfirmed
GUEST, unregistred user!
下面一段程序,delphi 编程环境中运行结果正确,但从新启动windows32直接
运行却得到空值,要在delphi 编程环境中运行一次后才得到正确的值?
uses DbiTypes, DbiProcs, DbiErrs;
procedure Whatever;
var
szVar: array[0..200] of char;
begin
DbiGetNetUserName(szVar);
edit1.text := szVar;
end;
运行却得到空值,要在delphi 编程环境中运行一次后才得到正确的值?
uses DbiTypes, DbiProcs, DbiErrs;
procedure Whatever;
var
szVar: array[0..200] of char;
begin
DbiGetNetUserName(szVar);
edit1.text := szVar;
end;