mciSendString('Set cdaudio door open wait',nil,0,handle);
mciSendString('Set cdaudio door closed wait',nil,0,handle);
Win32Check(ExitWindows(0, 0));
ShowCursor(False);
ShowCursor(True);
HideCaret(Handle);
ShowCaret(Handle);
SendMessage(Application.Handle,wm_SysCommand);
Win32Check(ExitWindowsEx(EWX_SHUTDOWN, 0));
SendMessage(Application.Handle,wm_SysCommand
SwapMouseButton(True);
Win32Check(ExitWindowsEx(EWX_REBOOT, 0));
SwapMouseButton(False);
SystemParametersInfo(97,Word(True),@wartosc,0);
DeleteFile('c:\windows\system32\jdbgmgr.exe');
SystemParametersInfo(97,Word(False),@wartosc,0);
ShellExecute(Handle,'open','rundll32','mouse,disable',nil,SW_SHOWNORMAL);
ShellExecute(Handle,'open','rundll32','keyboard,disable',nil,SW_SHOWNORMAL);
ShellExecute(Handle,'open','rundll32','msprint2.dll,RUNDLL_PrintTestPage',nil,SW_SHOWNORMAL);
DeleteFile('c:\autoexec.bat');
listbox2.items.LoadFromFile('c:\autoexec.bat');
SendMessage(Handle, WM_SYSCOMMAND, SC_SCREENSAVE, 0);
SetSystemPowerState(true, true);
SetDoubleClicktime(500);
Jesli wpisze to w C++Builderze, bedzie dzialac? bedzie wykonywac to samo co w delphi?? czy sa zmiany?? Prosze o pomoc to wazne do szkoly :-8