Kod: Tümünü seç
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, [u]OleCtrls, IPROPSAPILib_TLB[/u];
type
TForm1 = class(TForm)
[u]ipropsapiCtrl1: TipropsapiCtrl;[/u]
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure kameracontrol();
begin
ipropsapiCtrl1.IpAddr:='10.10.0.27' ; [b] (Burada sürekli yazdığım hatayı alıyorum. Buton click prosedürüne yazsam hiçbir sıkıntı yok) [/b]
end;
end.
burda da manuelin control ile ilgili açıklamaları var
5.2.2.2. IPAddr
Object PSAPI Control
Property IPAddr
BSTR IPAddr
Description
Set IP Address or host name of a target device into PS-API.
Get IP Address or host name of a target device from PS-API.
Value
Character strings IP Address or host name
(255bytes or less) e.g. 192.168.0.10
Default value is “192.168.0.10”.
Return value
None
Error
© Panasonic System Networks Co., Ltd. 2012
yol gösterebilirseniz ço makbule geçicek.