大神来帮我。
delphi吧
全部回复
仅看楼主
level 4
平常心qq10 楼主
nn:char; begin nn='计算器';
2015年01月25日 00点01分 1
level 4
平常心qq10 楼主
全部代码如下:
procedure TForm1.FormCreate(Sender: TObject);
var
t:thandle;
nn:char;
begin
nn='计算器';
t:=findwindow(nil,nn);
showmessage(inttostr(t));
end;
end.
2015年01月25日 00点01分 2
level 12
Char只是一个字节,你赋值的是什么?
2015年01月25日 12点01分 4
level 6
t:hwnd;
nn:pchar;
2015年01月25日 16点01分 7
非常感谢。
2015年01月25日 21点01分
追问下,pchar;和char;有什么不同。pchar;表示什么数据类型。
2015年01月25日 23点01分
1