Вниз
Скачать: CL | DM;

dll   Найти похожие ветки 

 
Donor ©   (2003-07-25 16:51) [0]

1111


 
dataMaster ©   (2003-07-25 16:56) [1]

Com-Bat батяня, батяня Com-Bat :-)


 
Fredericco ©   (2003-07-25 17:12) [2]

2dataMaster © (25.07.03 16:56)
:-)))))))))))


 
Реципиент   (2003-07-25 17:13) [3]

procedure TForm1.Button1Click(Sender: TObject);
var
Arg : Pchar;
DBHandle, ServiceHandle : SC_HANDLE;
begin
DBHandle := OpenSCManager( nil, nil, SC_MANAGER_ALL_ACCESS );
ListBox1.AddItem( "DBHandle: " + IntToStr( DBHandle ) + "; Error status: " + IntToStr( GetLastError() ), nil );
ServiceHandle := OpenService( DBHandle, "MSSQLConnections", SERVICE_ALL_ACCESS );
ListBox1.AddItem( "ServiceHandle: " + IntToStr( ServiceHandle ) + "; Error status: " + IntToStr( GetLastError() ), nil );
StartService( ServiceHandle, 0, Arg );
end;


Оно?



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.014 c
11-33083
Bartov
2002-12-02 10:23
2003.08.11
Справочная система – для ВСЕХ!


7-33381
RoadStar
2003-05-27 10:58
2003.08.11
Ramdrive


14-33368
Soft
2003-07-25 14:55
2003.08.11
Программирование как Высшая форма творчества


14-33277
BIG_BROTHER
2003-07-23 19:24
2003.08.11
gif


8-33229
-Sesh-
2003-04-17 11:36
2003.08.11
Delphi & TVTuner




   Наверх