flat assembler
Message board for the users of flat assembler.

Index > Windows > rundll32.exe Shell32.dll,Control_RunDLL desk.cpl... /quiet

Author
Thread Post new topic Reply to topic
semiono



Joined: 31 Aug 2007
Posts: 176
Location: section '.code' executable
semiono
Quote:
rundll32.exe Shell32.dll,Control_RunDLL desk.cpl desk,@Themes /Action:OpenTheme /File:"%WinDir%\Resources\Themes\Luna.theme"
rundll32.exe Shell32.dll,Control_RunDLL desk.cpl desk,@Appearance /Action:OpenMSTheme /File:"%WinDir%\Resources\Themes\Luna.theme"


Is it a something secret swithers to apply this without to use dialog?
/Action:SetTheme ? Smile

Some ideas, please?..
Howto the press button OK in asm code?? Cool Confused

_________________
Memory=8388608
Post 18 Mar 2010, 17:48
View user's profile Send private message ICQ Number Reply with quote
semiono



Joined: 31 Aug 2007
Posts: 176
Location: section '.code' executable
semiono
a global world crisis?
Post 23 Mar 2010, 15:33
View user's profile Send private message ICQ Number Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17287
Location: In your JS exploiting you and your system
revolution
I guess the silence means no one here knows the answer.

Besides, who changes themes so often that it needs to be automated?
Post 23 Mar 2010, 15:53
View user's profile Send private message Visit poster's website Reply with quote
semiono



Joined: 31 Aug 2007
Posts: 176
Location: section '.code' executable
semiono
This is some like the code

Code:
include '%fasm%\win32ax.inc'

start:
        invoke ShellExecute,NULL,NULL,'calc.exe',NULL,NULL,SW_SHOW
        invoke Sleep,20

        invoke FindWindow,"SciCalc",NULL
        mov [hWnd],eax
        invoke FindWindowEx,[hWnd],NULL,NULL,button
        mov [cWnd],eax
        invoke SendMessage,[cWnd],BM_CLICK,NULL,NULL
exit:
        invoke ExitProcess,NULL

section '.idata' import data readable writeable
        library kernel32,'KERNEL32.DLL',\
        shell32,'SHELL32.DLL',user32,'USER32.DLL'
        include '%fasm%\api\kernel32.inc'
        include '%fasm%\api\shell32.inc'
        include '%fasm%\api\user32.inc'

        cWnd dd ?
        hWnd dd ?
        button db '4', 0    


But desk.cpl is transcendental window! The Button1 absent into resorces Smile
Post 24 Mar 2010, 14:35
View user's profile Send private message ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.