Вниз
Скачать: 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.011 c
1-33131
М. Дмитрий
2003-07-27 20:09
2003.08.11
Вопрос по ScaleBy


14-33313
app
2003-07-23 13:20
2003.08.11
Моделирование человеческой личности (Dmitriy O. 23.07.03 13:17


6-33234
Димос
2003-06-02 18:42
2003.08.11
Запуск почтовой программы и вставка в нее какого-то текста.


14-33332
Думкин
2003-07-25 05:39
2003.08.11
С днем рождения


1-33176
TGrey
2003-07-28 17:26
2003.08.11
Очистка StringGrid




   Наверх