bill Δημοσ. 17 Μαρτίου 2001 Δημοσ. 17 Μαρτίου 2001 Eida se ena topic oti mporeis na kaneis leei diafora pragmata aytomatopoihmena ,me api (entoles einai?den ksero...) opos to<BR>C:\WINDOWS\RUNDLL32.EXE user.exe,exitwindows<BR>poy kleinei to pc.<P>Pou mporo na vro tetoia?<P>Thanks
sh4dow Δημοσ. 17 Μαρτίου 2001 Δημοσ. 17 Μαρτίου 2001 iparxei to Win32 Programmer's Reference to opoio periexei oles tis api gia ta windows9X/NT + kati epipleon api synolo 45 mb se help morfi<BR>alla mporeis na breis apis an kaneis dexi klick epano se kapoio arxeio (exe,dll,ocx,cpl,scr,....) kai dialexeis tin entoli quick view (an to exeis kanei egatastasi) kai koitaxeis sta exports (i export functions).<P>tora to na breis mia api einai eukolo, to na breis ta katalila stoixeia pou tin apoteloun einai ligo diskolo. kai edo erxontai oi glosees programmatismou pou xrisimopoioun api + oti exoun boithia ktl,ktl. diladi me liga logia kapoies aples entoles mporoun na ginoun meso .bat arxeion alla den pas poli pera etsi.
Sean Δημοσ. 17 Μαρτίου 2001 Δημοσ. 17 Μαρτίου 2001 Μερικά που ξέρω:<BR>For Win9x<BR>c:\windows\rundll.exe user.exe,ExitWindows ;Shut down, or<BR>c:\windows\rundll.exe shell32.dll,SHExitWindowsEx 5 ;Shut down<BR>c:\windows\rundll.exe shell32.dll,SHExitWindowsEx ;Log-off user<BR>c:\windows\rundll.exe user.exe,ExitWindowsExec ;Restart<BR>c:\windows\rundll.exe shell32.dll,SHExitWindowsEx 2 ;Reboot <P>Ελπίζω να βοήθησα...<P>------------------<BR><FONT face="Comic Sans MS"><B>insomnia</B>: (ουσ.) αϋπνία<BR><B>insomniac</B>: (ουσ.) πάσχων από αϋπνία. . . . . . . . . . <A HREF="http://it.internations.net/registrygr/" TARGET=_blank>RegistryGr</A> </FONT f>
Paulus Δημοσ. 17 Μαρτίου 2001 Δημοσ. 17 Μαρτίου 2001 Signomi re paidia alla auto pou leei to paidi den einai API!Einai orismata pou mpainoun se mia entoli-ektelesis enos ektelesimou arxeiou.Oute sxesi exei kamia me ta exports twn sinartisevn pou yparxoyn sta dll i sta exe oute kati tetoio...<IMG SRC="http://www.insomnia.gr/cpubb/smilies/cwm24.gif" border=0> <BR>API einai ena sinolo sinartisewn pou briskontai se kapoia dll, oxi sinolo entolwn!<BR>Min mas koufainete twra!!Min mperdeyete to paidi!
sh4dow Δημοσ. 17 Μαρτίου 2001 Δημοσ. 17 Μαρτίου 2001 den einai api? exeis diabasei to win32 programmer's reference? an oxi tote pare mia geusi:<P>The ExitWindows function logs the current user off. <P>BOOL ExitWindows(<P> DWORD dwReserved, // reserved <BR> UINT uReserved // reserved <BR> ); <BR> <P>Parameters<P>dwReserved<P>Reserved; must be zero. <P>uReserved<P>Reserved; must be zero. <P> <P>Return Values<P>If the function succeeds, the return value is nonzero.<BR>If the function fails, the return value is zero. To get extended error information, call GetLastError. <P>Remarks<P>Windows NT: The ExitWindows function asks applications if they want to terminate by sending the WM_QUERYENDSESSION message to the main window of all running applications.<BR>Windows 95: The ExitWindows function sends the WM_QUERYENDSESSION message to all applications except the one that called ExitWindows.<BR>An application agrees to terminate by returning TRUE when it receives this message (or by allowing the DefWindowProc function to process the message). If any application returns FALSE when it receives the WM_QUERYENDSESSION message, the shutdown is canceled. <P>After Windows processes the results of the WM_QUERYENDSESSION message, it sends the WM_ENDSESSION message with the wParam parameter set to TRUE if the system is shutting down and to FALSE if it is not. <BR>Windows does not allow new applications to start up during the shutdown process. <P>See Also<P>DefWindowProc, ExitWindowsEx <BR>
Paulus Δημοσ. 19 Μαρτίου 2001 Δημοσ. 19 Μαρτίου 2001 H sinartisi ExitWindowsEx kai ExitWindows fysika kai einai API -den exoun amesa sxesi me to rundll32.exe.Einai fisika sinartiseis pou ginontai export apo to user32.dll (i user.exe gia 16-bit).Malista einai apo tis prwtes sinartiseis pou eixa xrisimopoiisei kai eixa eisagei akoma kai se istoselida -Lathos sinnenoisi sh4dow,sorry <BR>Ennoousa oti i sintaksi tis entolis rundll32 ...kai loipa dexetai ta user32 kai exitwindows (pou einai sinartisi api) san orismata kai oxi san sinartiseis katheaytes.(Me liga logia diafonisa se entopismeno thema orologias...)<IMG SRC="http://www.insomnia.gr/cpubb/smilies/cwm7.gif" border=0>
Προτεινόμενες αναρτήσεις
Αρχειοθετημένο
Αυτό το θέμα έχει αρχειοθετηθεί και είναι κλειστό για περαιτέρω απαντήσεις.