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
  • interact with vista '3d' desktop

    question linux
    2
    0 Votes
    2 Posts
    0 Views
    T
    I am not aware of any such service for altering that aspect of the Aero interface. Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my Blog
  • On the fly copying?

    question
    20
    0 Votes
    20 Posts
    0 Views
    P
    robocopy ended up doing the job for me. Took a little while going through all the different command line switches that are available. Doing a robocopy c: f:\MyBook\Desktop /s: 0 /w: 0 /mir was what I needed. essentailly it was a mirror copy with 0 retries and 0 seconds of waiting between reties. "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
  • Regarding Events and Semaphores in Vista

    tutorial
    2
    0 Votes
    2 Posts
    0 Views
    M
    see here[^] Mark Salsbery Microsoft MVP - Visual C++ :java:
  • Error message logged in Standard User Analyzer

    help data-structures debugging
    2
    0 Votes
    2 Posts
    0 Views
    P
    Please don't cross-post. Someone will answer your question in time. Regards, --Perspx "The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • Free Vista Support

    c++ java com architecture help
    4
    0 Votes
    4 Posts
    0 Views
    R
    Free unlimited installation and compatibility support is available for Windows Vista, but only for Service Pack 1 (SP1). it can be taken support from www.support4vista.com software Programming OpenSource
  • Visual Studio / Vista / IE Search broken

    visual-studio csharp question
    3
    0 Votes
    3 Posts
    0 Views
    C
    Thanks for the reply. Nothing happens with the search. I type a keyword, press enter, and it does nothing. IE Version is IE7 on the Vissta Ultimate (64 bit) box. Tried both IE7 and upgrading to IE8 Beta on the previous Vista Home Premium (32 bit) box, but that didn't fix the problem. Visual Studio 2005 w/ SP1 and SP1 for Vista.
  • RegDeleteKey problem for standard user

    help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    9 Posts
    0 Views
    L
    CarlMCook wrote: Is Microsoft in essence abandoning end-user business systems, exclusively targeting users that just send baby pictures to grandma? I trust MS considers both markets important. They are selling through all kinds of channels. :) Luc Pattyn [Forum Guidelines] [My Articles] Voting for dummies? No thanks. X|
  • make entry in "open with" list(vista)

    2
    0 Votes
    2 Posts
    0 Views
    P
    skvani wrote: in critical situation No body replied in 10 days. Don't ask for help in critical situations, just work it out. "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
  • disabling ctrl+alt+del i vista

    c++ windows-admin help tutorial
    3
    0 Votes
    3 Posts
    0 Views
    K
    Disabling Task Manager won't disable CTRL ALT DEL under Vista. Even systemwide hooks dont work. And to change the regkeys, rightclick on regedit.exe and "Run as Administrator".
  • Application Updating on mass Workstations

    security question sysadmin help announcement
    2
    0 Votes
    2 Posts
    0 Views
    K
    Whatever, I havent been able to find anything in the last week and now I accidentaly find this article http://www.codeproject.com/KB/vista-security/VistaSessions.aspx[^].
  • How to capture the logon and logoff events in Windows Vista?

    tutorial question
    14
    0 Votes
    14 Posts
    2 Views
    M
    "I am trying to develop Win logOn Notification for Vista. My RegisterServiceCtrlHandlerEx() successfully set my HandelrEx() function however I am not able to receive Lock, Logon and logoff events. Moreover as suggested I am also calling SetServiceStatus() with SERVICE_ACCEPT_SESSIONCHANGE in the dwControlsAccepted field of the SEVICE_STATUS struct. The only notification I am getting at the moment in my HandlerEx() fuction is SERVICE_STOPPED." I am using C++ with a generated code using VS2005 of Win32Service, so I call RegisterServiceCtrlHandlerEx() and SetServiceStatus() from within OnStart(). Thanks in advance for your help, Moshe
  • Help 2.0 with Vista

    com help workspace
    3
    0 Votes
    3 Posts
    0 Views
    J
    Hi Perspx, I managed to get MSHelp working on the Vista Machine. I reinstalled Visual Studio 2005 SDK on the machine and everything worked like charm. However this is very surprising that there has been no articles or any help anywhere on the web for the same. Perspx I appreciate your help and thank you very much for sharing your opinions. Hope this will help others in getting similar issues resolved :) Vinay ComponentOne LLC. www.componentone.com
  • Elevation of process

    com json question
    5
    0 Votes
    5 Posts
    0 Views
    M
    Jörgen Sigvardsson wrote: Is there a way to elevate a process's privileges dynamically? No, a process's integrity level can only be set when it is launched. The common way to temporarily elevate uses a COM object because it gets instantiated by the OS in a separate elevated process. --Mike-- Visual C++ MVP :cool: LINKS~! CP SearchBar v3.0 | C++ Forum FAQ "That's what's great about doing user interface work. No matter what you do, people will say that what you did was idiotic." -- Raymond Chen
  • 0 Votes
    3 Posts
    0 Views
    L
    Hi, I guess an elevated process can create EnvVars, but then it will have some trouble launching new non-elevated processes. IIRC there have been some CP articles on that topic lately. :) Luc Pattyn [Forum Guidelines] [My Articles] Voting for dummies? No thanks. X|
  • disabling certain keyboard keys with scancode

    tools help
    2
    0 Votes
    2 Posts
    0 Views
    P
    Well you could write a program to insert data into the registry with the required input and output scan codes? Or if you don't want to do that get it to output a .reg file and run that - I created an app like that and it was very useful :) And in response to your second question, I believe that if you kill explorer.exe with the Task Manager and then restart it (using File->Create process), it reloads some registry values (however I'm not sure if scan codes are included in the registry data that is reloaded). Hope this helps, --Perspx "Nowadays, security guys break the Mac every single day. Every single day, they come out with a total exploit, your machine can be taken over totally. I dare anybody to do that once a month on the Windows machine." - Bill Gates BSoD during a Win98 presentation
  • make entry in 'open with" list-

    help tutorial
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Vista non-WIN32 apps memory restriction

    help database json performance announcement
    5
    0 Votes
    5 Posts
    0 Views
    T
    Well, the guy does run Windows 95 as his primary OS... "What's everyone so worked up about? So there's a comet -- big deal. It'll burn up in our atmosphere and what's ever left will be no bigger than a chihuahua's head." - Homer Simpson
  • uninstall

    question
    4
    0 Votes
    4 Posts
    0 Views
    T
    Look for a ~WINDOWS.Q folder in C:\ or the drive XP was installed on. If it's there, there should be and option in Programs and Features control panel. If it's not there, boot a Linux LiveCD instead of using format.com and use the distro's disk manager to format it (as Fat32) , then install XP. "What's everyone so worked up about? So there's a comet -- big deal. It'll burn up in our atmosphere and what's ever left will be no bigger than a chihuahua's head." - Homer Simpson