Вниз
Скачать: 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.009 c
14-33370
dmtr
2003-07-25 18:17
2003.08.11
Windows 2000 Advanced Server и 3GB физической памяти


1-33122
Zergling
2003-07-30 07:30
2003.08.11
Вновь RTTI :). Помогите извлечь PTypeInfo для tkSet.


1-33181
Maxi-mov
2003-07-27 00:06
2003.08.11
Как из моего приложения редакторовать ячейку Excel ?


14-33296
Dmitriy O.
2003-07-24 09:07
2003.08.11
Компьютерное моделирование человеческой личности.


1-33195
pod
2003-07-29 03:21
2003.08.11
Копирование




   Наверх