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
  • Problem Delete file in Vista

    help question
    3
    0 Votes
    3 Posts
    0 Views
    J
    It could be a permission issue, where is the file located ? Jonathan Wilkes Darka[Xanya.net]
  • From where to get wallpapers of vindows vista

    6
    0 Votes
    6 Posts
    0 Views
    J
    OriginSH just told you what to do, buy Vista don't just repeat your question. Jonathan Wilkes Darka[Xanya.net]
  • Quick & Dirty Vista Virtualization Hack

    3
    0 Votes
    3 Posts
    0 Views
    H
    There is a lot there. I'm not sure what you think I should be looking for.
  • "Global" settings under Vista?

    help csharp windows-admin tools question
    3
    0 Votes
    3 Posts
    0 Views
    R
    Now that I've been through the pain of fixing our code to work with the UAC requirements is actually a really good thing. When we run for the first time and require registration stuff I launch a separate elevated process and write to hklm. I believe this is the correct thing to do as we are requiring a change to be made that will affect all users of the software so UAC should be invoked. Bob Berge wrote: We have a similar issue with some global settings which apply to all users, also stored in HKEY_LOCAL_MACHINE\Software\\. I can add a manifest to the program so that it has the privileges it needs to avoid virtualization, but then the user faces the wrath of UAC every time they run our program. Here i believe that you should launch an elevated process when the user wants to change settings but not for the whole application. Settings that affect all users of the system should only be modified by administrative users running in elevated mode. Russ
  • file renaming

    tutorial question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • -- The Truth --

    question csharp dotnet sysadmin windows-admin
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Vista, .NET and office 2007

    question csharp database visual-studio help
    8
    0 Votes
    8 Posts
    0 Views
    P
    Thanks, but you should have directed this post to freefika :-D "Find it your bloody self - immediately!" - Dave Kreskowiak
  • Visual Studio 2005 on Vista – Open Solution

    visual-studio csharp help question
    5
    0 Votes
    5 Posts
    0 Views
    realJSOPR
    Stephen Hewitt wrote: I run Visual Studio 2005 under an account that has UAC disabled; if you don't like the "Cancel or allow?" feature you can simply turn if off. Not if you're working on a corporate system where they've locked you out of doing pretty much anything, including turning off UAC... "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
  • Want to get same audio through two differant audio devices

    question
    2
    0 Votes
    2 Posts
    0 Views
    S
    ofcourse. you should redirect the sound with a program.
  • Ultrawintree

    csharp help tutorial question
    2
    0 Votes
    2 Posts
    0 Views
    J
    Please post on the C# board for answers, this board is for Windows Vista questions only. regards, Jonathan Wilkes Darka[Xanya.net]
  • Whats the deal with search?

    com question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Sample File location in Vista?

    question
    2
    0 Votes
    2 Posts
    0 Views
    J
    Use the SHGetSpecialFolderPath() api call with the nFolder parameter set to either: For per user app data (e.g. C:\Documents and Settings\username\Application Data) CSIDL_APPDATA or for app data common to all users (e.g. C:\Documents and Settings\All Users\Application Data) CSIDL_COMMON_APPDATA regards, Jonathan Wilkes Darka[Xanya.net]
  • windows vista & explorer

    question help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Platform SDK/Windows SDK

    question csharp graphics game-dev
    2
    0 Votes
    2 Posts
    0 Views
    L
    Hey Sorted it - for anyone interested I thought .NET 3.0 was installed with the Windows SDK but you can install the SDK and it has all the headers and libs to continue coding windows apps for XP. Thanks Dam
  • Migration of a VCPP program to Windows Vista

    c++ performance help question
    3
    0 Votes
    3 Posts
    0 Views
    M
    Jeez, how does this rubbish spread? The memory protection within a process is unchanged. You should have no issues with malloc/calloc as long as you're using them correctly already - if not, there may be changes in how the heap manager allocates memory that will cause the addresses of that memory to be different, which could expose some latent bug. What has changed is the addition of User Account Control. This enforces a requirement that Microsoft have been making for their Windows logo program for a long time - that the application works correctly if the user is not an administrator. Therefore you must not write to privileged locations - for example the Windows folder, Program Files folder, and HKEY_LOCAL_MACHINE. Windows Vista has compatibility put in place for legacy applications that redirects writes to many of these locations to non-privileged per-user stores. This is however confusing to users. You should aim to fix any errors in this area. You'll find them most quickly if you add a manifest to your application that declares a requestedExecutionLevel of 'asInvoker' - the offending operations will then fail with Access Denied errors. You can also test on Windows XP when running as a standard user. For the most part though any issues will be specific to your application. A helpful toolkit is Application Verifier[^] - this will pick up many errors in what you're doing. DoEvents: Generating unexpected recursion since 1991
  • dll register failed

    debugging announcement
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    2 Posts
    0 Views
    D
    POST YOUR QUESTION IN THE C# FORUM NOT THE VISTA FORUM!!!!!!!!!!!!!! :mad::mad: -- If you view money as inherently evil, I view it as my duty to assist in making you more virtuous.
  • Error while File Uploading (URGENT, reply ASAP)

    help csharp html xml json
    4
    0 Votes
    4 Posts
    0 Views
    P
    Does this have anything specifically to do with Vista? Don't put URGENT in your subject, it is rude around here :| "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
  • 0 Votes
    3 Posts
    0 Views
    P
    What does this have to do with Vista? Post in the right forum next time. "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
  • mirror driver

    business help
    3
    0 Votes
    3 Posts
    0 Views
    A
    any solution any way by which it can be turn on manually or by coding without uninstalling the mirror driver. any link which completely explains internal working of AERO thanx for reply prashant jain malviya national institute of technology