Skip to content

Windows API

Discussions on the APIs of the various versions of Windows

This category can be followed from the open social web via the handle windows-api@forum.codeproject.com

811 Topics 2.7k Posts
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    3 Posts
    0 Views
    D
    Mike Dimmick wrote: Vista SP1 has a new DEP feature that's supposed to detect ATL's 'thunks' that it uses to fix up the 'this' pointer when calling a window message handler function. As I recall this is on by default. Are you using Vista SP1? DEP is, by default, in 'opt-out' mode. However, if a process' executable is compiled with the /NXCOMPAT linker option, it opts in and you can't do anything about it. The problem is that the thunks in ATL 3.0 are allocated with the window object itself - they're members of the structure. The heap that ATL creates is not marked to allow execution Hi Mike, Thanks for replying! I am not using SP1, just using ultimate edition of Vista! Dont know the same thing works for the plugin dll build in VS 2005. but not with VC++ 6.0??? Do we have some compiling or linking options that we can set while building the DLL so that it will not be blocked by DEP when running Windows Mail?? Thanks! dolly, N,IN
  • 0 Votes
    4 Posts
    1 Views
    P
    :laugh: I guess I could have :-\ "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
  • UAC woes...

    question
    4
    0 Votes
    4 Posts
    0 Views
    N
    Me too - I am the only user, and admin, but still... I have Vista sussed - apart from a few driver issues (maybe - in fact I have no issues there but I know ithers do) you can solve all Vista problems by turning off UAC. Which, to all outward intents and purposes turns it back into XP, which most of us survived quite happily on for years. Don't believe all this security nonsense. Just stay away from dodgy porn sites and don't open spam email and you'll be fine. It's like little old ladies being afrtad to go out for fear of being mugged... go outside, granny, you'll be fine. Just don't talk to starnge men! Talking of email security I am amazed that still, in Outlook, the reading pane is turned on in the Inbox by default. That has got to be a security risk, surely? I turn mine off and delete anything with a suspect subject line there before dragging it into another folder ("My Inbox") for reading. UAC sucks, and that's and end to it.
  • Vista Explorer controls

    csharp wpf winforms question
    3
    0 Votes
    3 Posts
    0 Views
    T
    There is a TravelButton like Vista's back/forward button here. "There's a good and a bad side of a battery. We were very good at the negative." - James Hetfield
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    3 Posts
    0 Views
    K
    As I noted in the original message, the program displays characters "correctly" under previous operating systems and behaves differently under Vista.
  • vista problem(keycode error)

    help csharp business question
    2
    0 Votes
    2 Posts
    0 Views
    K
    is the dll properly registered? (Not only copy the dll to the system):~ Greetings from Germany
  • Vista - Intranet works, Internet does not

    question
    2
    0 Votes
    2 Posts
    0 Views
    K
    the internet settings of the IE/PC? Or do have a firewall policy where the PCs are regulated? Greetings from Germany
  • Vista woes...

    help question csharp visual-studio hardware
    6
    0 Votes
    6 Posts
    0 Views
    N
    ..turns out to have been the IDE CD/DVD drive. Replaced it with a serial one and now all is fine.... I am sure there is an explanation somewhere...
  • How to Use Vista WMP-style UI in My App

    csharp c++ visual-studio wpf winforms
    3
    0 Votes
    3 Posts
    0 Views
    R
    Hi Mike, Thanks for replying. I've come across your article previously. At the moment I just have a blank glass area the same size as in WMP. What I can't figure out how to do is add buttons that look the same as in WMP/Windows Photo Gallery. Thank you, Adrian
  • Gettting rules of Windows Vista in c language

    visual-studio com help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Symantec Corporate Edition 10.2 for windows vista

    question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    2 Posts
    0 Views
    D
    you register you one console Application to SCM,become a service; while this can Run All Session; you service must monitor you anther Application is Active any time! your service invokes another Application Use process "winlogon.exe" token And Current Session! while user logoff,you Appclication will receive system brodcast message,in that case you Application Killed itself! your service Start one new Application in other Session!
  • Vista /Xp

    help question
    4
    0 Votes
    4 Posts
    0 Views
    D
    you can test press key F9 when system starts! select start device from!
  • "WriteFile" directly Write Datas to storage device in Visita!

    help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Backgroiund image...

    question
    2
    0 Votes
    2 Posts
    0 Views
    T
    You could in Windows 98, but not in XP. IE 7 completely removes this, as well as Vista. However, you can create a file Explorer uses to pimp out folders. It forgot what was it called. I'd been called 'ugly', 'pug ugly', 'fugly', 'pug fugly' but never 'ugly ugly'. - Moe Szyslak
  • Installer Problem

    help database visual-studio beta-testing question
    4
    0 Votes
    4 Posts
    0 Views
    B
    Richard A. Abbott wrote: Could be that your download was corrupted. I downloaded it again, and it seems to be progressing better than last time just installed fine. Richard A. Abbott wrote: However, Lessmsierables[^] is a utility that you could use to inspect and extract msi files. Cool, thanks. I'll check it out. Richard A. Abbott wrote: Anyhow, how did your tracing presentation go? It was mercifully postponed until next week. That will give me time to write some useful and impressive little trace listeners. Semicolons: The number one seller of ostomy bags world wide. - dan neely
  • 0 Votes
    6 Posts
    0 Views
    V
    Hi!! If you have logged in as Administrator and right clicking the service the you should get start option highlighted and other options grayed (which is I am getting.). If you think it is related to UAC then please refer the dam good articles of Jaisvar. I am forwarding the link. http://www.codeproject.com/KB/vista-security/VistaSessions.aspx[^] Please go through it. It had helped me a lot... With regards, Vaibhav Deshpande.