Quantcast
Channel: The Old New Thing
Browsing all 24428 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

re: Why is it so hard to write a program that requires UI Access privilege?

@Joshua "@Killer{R}: What happens is CreateRemoteThread, *ProcessMemory, and a few more that don't come to mind immediately fail as the process was elevated to a higher IL on startup. Now it might have...

View Article


Image may be NSFW.
Clik here to view.

re: Why is it so hard to write a program that requires UI Access privilege?

You're not being creative enough. Any compile-time parameter can be trivially turned into a runtime-detected one:void main(){if(ShouldUseVS("thirdpartycomponent.dll")) ShellExecute("app_with_vs.exe");...

View Article


Image may be NSFW.
Clik here to view.

re: Why is it possible to create a toolbar with the wrong HINSTANCE? And...

[Treating a NULL instance as a synonym for the process instance is a leftover behavior from 16-bit Windows, so I'm going to declare it a workaround for sloppy programming rather than a recommended...

View Article

Image may be NSFW.
Clik here to view.

re: How am I supposed to free the information returned by the GetSecurityInfo...

"WndSks" isn't funny, clever or even the slightest bit ironic.  It's just rude.  Raymond is well correct to point this out. It's not unreasonable to expect a little common courtesy from those to whom...

View Article

Image may be NSFW.
Clik here to view.

re: Why is it possible to create a toolbar with the wrong HINSTANCE? And...

@Joshua: GetCurrentPeb()->ImageBaseAddress is the easiest way of locating an EXE from a Dll.

View Article


Image may be NSFW.
Clik here to view.

re: Why is it possible to create a toolbar with the wrong HINSTANCE? And...

Or the slightly more supported GetModuleHandle(NULL).If it's so easy to do it right, there's no need to do it wrong.

View Article

Image may be NSFW.
Clik here to view.

re: Why is it possible to create a toolbar with the wrong HINSTANCE? And...

@Matt: I used GetModuleFileName(NULL).Oh wow the TEB and PEB are now at least partially documented. As far as I can tell they've never changed within a build architecture of Windows NT (e.g i386 !=...

View Article

Image may be NSFW.
Clik here to view.

re: Why is it so hard to write a program that requires UI Access privilege?

As I understand it, the signing requirement was really there because it dissuaded a lot of developers from simply enabling UiAccess because "it fixes this issue with Vista+" rather than properly...

View Article


Image may be NSFW.
Clik here to view.

re: Why is it possible to create a toolbar with the wrong HINSTANCE? And...

@Joshua: The low bytes of the Peb and Teb are contractually set by Microsoft and won't change because too many people rely on stuff like the peb pointer in the Teb, the IsBeingDebugged value in the teb...

View Article


Image may be NSFW.
Clik here to view.

re: I'll tell you what I think of the new University of California logo once...

Another issue with the picture is that it is JPG. JPG is great for photographic images, but should NEVER be used for illustrations, diagrams, screenshots, or logos. That actually bothers me quite a lot.

View Article

Image may be NSFW.
Clik here to view.

re: I'll tell you what I think of the new University of California logo once...

Update: The senior VP has said that use of the new logo will be suspended: "Therefore, I have instructed the communications team to suspend further use of the monogram. For certain applications, this...

View Article

Image may be NSFW.
Clik here to view.

re: Den 2012 Gävlebocken gick upp i brand. Igen.

I would not be surprised if the Board of Tourism was behind the burning of the goat.

View Article

Image may be NSFW.
Clik here to view.

re: Den 2012 Gävlebocken gick upp i brand. Igen.

Svenska petimeter-hörnan:s/Gävleboken/Gävlebocken/;Also, the title should read "2012 års Gävlebock gick upp i brand. Igen."

View Article


Image may be NSFW.
Clik here to view.

re: Den 2012 Gävlebocken gick upp i brand. Igen.

@MauritsI wouldn't be surprised if a Swedish bookies were behind the burning of the goat.

View Article

Image may be NSFW.
Clik here to view.

re: Den 2012 Gävlebocken gick upp i brand. Igen.

@BOFH - I was about to ask what a Gavla book had to do with goats too ;-)

View Article


Image may be NSFW.
Clik here to view.

re: Why is it so hard to write a program that requires UI Access privilege?

@Axxan, can't replicate.  Would be nice if the tweeter had shown how to actually do what he says:command prompt:'win32api.SendMessage' is not recognized as an internal or external command, operable...

View Article

Image may be NSFW.
Clik here to view.

re: Why is it so hard to write a program that requires UI Access privilege?

oh, I get it, after some googling.  He cheated a little by using Python and not saying so.

View Article


Image may be NSFW.
Clik here to view.

re: 2012 års Gävlebock gick upp i brand. Igen.

From way back when..."If you ask the Internet to show you pictures of goats on fire, the Internet will ask you, 'What kind of goats?'"I guess this time it's straw, or Swedish...

View Article

Image may be NSFW.
Clik here to view.

re: Like the cake, WS_EX_TRANSPARENT is a lie, or at least not the entire truth

[If the windows belong to different processes, then the style has no effect.]Which is why it didn't work the one time I tried it on a top level window.[If both windows are not invalid simultaneously,...

View Article

Image may be NSFW.
Clik here to view.

re: Like the cake, WS_EX_TRANSPARENT is a lie, or at least not the entire truth

Portal reference...I never thought I'd see the day.

View Article
Browsing all 24428 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>