Вниз
Скачать: 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.037 c
1-33161
Buffoon
2003-07-28 13:26
2003.08.11
Поиск в StringGrid


4-33401
Sheng
2003-06-07 15:12
2003.08.11
Закрытие программы


1-33184
Sesh
2003-07-28 20:12
2003.08.11
Работа с датами


14-33301
Степан Петрович
2003-07-17 16:27
2003.08.11
Организация компьютерной бухгалтерии


6-33238
killer
2003-06-03 03:39
2003.08.11
Избранное в Internet Explorer и Delphi




   Наверх