lolito Posted June 27, 2007 Posted June 27, 2007 Hello, Sorry for my english but i am french... I try to call WinLockDll.dll with this code : DllCall("winlockdll.dll","int","CtrlAltDel_Enable_Disable","int",0) It work great for blocking the Ctrl-Alt-Del but not for unblocking (with this code : DllCall("winlockdll.dll","int","CtrlAltDel_Enable_Disable","int",1) We must reboot the computer to have the Ctrl-Alt-Del. With Winbatch it's the same thing -->DLLCall("WinLockDll.dll",Long:"CtrlAltDel_Enable_Disable",Long:1)-->that don't work. but there's a way with DllCallCdecl like this : DllCallCdecl("WinLockDll.dll",Long:"CtrlAltDel_Enable_Disable",Long:1)-->that work. Do you know if there's a way with autoit ? THANKS
ChrisL Posted June 27, 2007 Posted June 27, 2007 (edited) Hello,Sorry for my english but i am french...I try to call WinLockDll.dll with this code.......It work great for blocking the Ctrl-Alt-Del but not for unblocking (with this code........)We must reboot the computer to have the Ctrl-Alt-Del.With Winbatch it's the same thing that don't work.but there's a way with DllCallCdecl like this : DllCallCdecl(............)-->that work.Do you know if there's a way with autoit ?THANKSWhat is it for? Edited June 27, 2007 by ChrisL [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire
lolito Posted June 27, 2007 Author Posted June 27, 2007 Hello ChrisL, It's for locking my desktop when i go out and i would like many option...
ChrisL Posted June 27, 2007 Posted June 27, 2007 I'm sure you can see why this would be frowned upon, what purpose does locking your desktop need ctrl alt del blocking, and if it's locked how are you going to unlock it. Why can't you just lock the workstation via the windows method? What you need to do is locate the winlock.dll authors webpage get the source code, and look at the documentation, he explains what he does and it should help you to figure out whats wrong, you are way off mark with your thinking above though. I don't think the Moderators of this forum would appreciate this type of thing being publically explained so just be careful. Look at the source for winlock [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire
lolito Posted June 27, 2007 Author Posted June 27, 2007 Why moderator could not appreciate my question ? Is it possible with autoit or not ? That's my question...
ChrisL Posted June 27, 2007 Posted June 27, 2007 Why moderator could not appreciate my question ?Is it possible with autoit or not ? That's my question...Yes [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire
lolito Posted June 27, 2007 Author Posted June 27, 2007 Be careful, if a moderator see your anwser, he could not appreciate
ChrisL Posted June 27, 2007 Posted June 27, 2007 here is the deal, if a moderator posts in this thread and says I can post code to show you how to do this then I will. Can't say fairer than that. [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire
lolito Posted June 27, 2007 Author Posted June 27, 2007 $question = "Have you got a problem with the CtrlAltDel ?" If $question = true then "why ? I dont understand" Endif
PsaltyDS Posted June 27, 2007 Posted June 27, 2007 $question = "Have you got a problem with the CtrlAltDel ?"If $question = true then "why ? I dont understand"Assuming your purpose is completely benign, you should be able to see that other could make malicious use of a Ctl-Alt-Del blocker in Windows. Things that easily used for malicious purposes (another example is key loggers) are not discussed on this forum. They are certainly freely discussed in other places, but not here. Go elsewhere for such help. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
lolito Posted June 27, 2007 Author Posted June 27, 2007 int:cdecl And what ? Is it the begining of a malicious use ? Even if we can block this combaison, we can always terminate process ! And what is your solution about this : While 1 Sleep(100) If ProcessExists("explorer.exe") Then ProcessClose("explorer.exe") EndIf WEnd There's many many solution to block windows if we've got malicious dream. Stop your paranonia Friends !
lolito Posted June 27, 2007 Author Posted June 27, 2007 If nobody give me (us) the answer, i'll never post an example script in this site
FuryCell Posted June 27, 2007 Posted June 27, 2007 (edited) Will you stop bumping your post. It's only gonna make you more likely to be banned. Edited June 27, 2007 by SolidSnake HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.
Developers Jos Posted June 27, 2007 Developers Posted June 27, 2007 If nobody give me (us) the answer, i'll never post an example script in this site Do as you please ... my shirt aint getting wet ... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
lolito Posted June 27, 2007 Author Posted June 27, 2007 That all ? recall : it's not my question (ChrisL said there's a way, which ?)
Gif Posted June 27, 2007 Posted June 27, 2007 That all ? recall : it's not my question (ChrisL said there's a way, which ?)you are not going to get anyone to help you with such an attitude
Recommended Posts