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
  • About rmtool.exe

    question
    3
    0 Votes
    3 Posts
    0 Views
    L
    Jonathan [Darka] wrote: What did google say ? Google seems to point to MSDN discussions on the goodness of the tool as well as some form of editor for real audio/video or whatever. Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004
  • Cannot set Aero glass in my vista ultimate

    11
    0 Votes
    11 Posts
    0 Views
    D
    Good modern gfx cards are much faster in 3d mode than in 2d. As a result they're able to run areo faster than the 2d legacy gfx. Low end (generally integrated) gfx systems have minimal 3d support and consequently run areo (or beryl) poorly if at all. -- If you view money as inherently evil, I view it as my duty to assist in making you more virtuous.
  • 0 Votes
    19 Posts
    0 Views
    J
    Each exe and dll should have their own manifest, you should not need to modify the manifest (except maybe the description). Just embed it into both apps, if both are executables then use the first example I gave, else if they are DLL's then use the second. It should work fine for the GUI app too, in Vista when the executable is recognised as having a manifest file (by explorer for example) then the elevated shield icon will be overlayed on your aplications icon. If your apps icon does not have an overlay of the shield then Vista does not recognise the manifest, you may need to clear the explorer icon cache before it sees it. To do this kill (using task manager) ALL instances of explorer.exe, then start a new instance. regards, Jonathan Wilkes Darka[Xanya.net]
  • Problem with DDE under Vista.

    help c++ sysadmin
    4
    0 Votes
    4 Posts
    0 Views
    J
    Hi Jackson, I am afraid it's been many years since I worked on DDE so I can only suggest a few things. Have you tried using DDE Spy to see if that can help diagnose the problem. Also, see this link as it has a lot of DDE Infomation[^] Also, has the client been started as administrator or just the server ? Alternative technologies for inter-process communication include: Memory mapped files, named pipes, tcp/ip, etc. regards, Jonathan Wilkes Darka[Xanya.net]
  • Need some constants from winspool.h

    4
    0 Votes
    4 Posts
    0 Views
    R
    Hi dan, dan neely wrote: Also the question itself probably should've been posted in the c++ forum with a note that these are newly added constants for vista and not contained in the older SDK. I already did but got the advice to post it here, see: [^] greetings, ralf.
  • Assembly

    question
    3
    0 Votes
    3 Posts
    0 Views
    R
    Simply assembly is the lenguage of the PC, at the lower level. To write a function in higher level as C++ or basic you have to follow the specified sintax as open-close parentesis, declare variables and then you are ready to start. In assebly there isn't this, or better, there is, but it is not so clear: you can call a routine using CALL and the routine ends with RET. But it is not so simple: first you have to understand at least how use ALL the registries of the processor, and how the memory is used (POP PUSH). Then you will find that you can simply translate every C++/basic function line per line, simply expanding every line to a lot a instructions. This will require a lot of timem so ... it only depends on what you have to prepare or why. It is also possible to insert some lines of assembly in a C++ function using asm__, in this way you have only to prepare a short function to do what you need. :-D Russell
  • C++

    c++ help
    7
    0 Votes
    7 Posts
    0 Views
    P
    What compiler are you using? There are numerous C++ compilers out there and telling us which one, can be helpful. You really didn't give anyone much useful information. "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
  • Windows Vista for a Developer

    help question
    11
    0 Votes
    11 Posts
    0 Views
    K
    :) Kevin
  • Priviledge escalation

    question
    2
    0 Votes
    2 Posts
    0 Views
    J
    You need to elevate the application, you can either of: 1 - Use CreateProcess() to elevate from a separate process. 2 - Create a manifest file and embed it in you application, see here for an example. regards, Jonathan Wilkes Darka[Xanya.net]
  • Binding A StaticResource to a XPath expression

    xml wpf wcf help question
    2
    0 Votes
    2 Posts
    0 Views
    J
    Please post on the correct board and you are more likely to get help. Jonathan Wilkes Darka[Xanya.net]
  • Which Update?

    question announcement
    6
    0 Votes
    6 Posts
    0 Views
    D
    WalderMort wrote: dan neely wrote: very rarely wait the several days that are necessary to trigger the forced restart You've kinda lost me there. From what I have seen, as soon as it's finished downloading and installing you are prompted to restart. A Dialog box pop's up in the lower right of the screen prompting you to restart or postpone, giving you an option of 10 minutes and 1 or 4 hours. Like I say, this occurs directly after the updates have been installed. I'm referring to the behavior you're complaining about which rams the reboot down your throat whether you want it or not after several days of ignoring the reboot reminder. WalderMort wrote: Up until last month I found that if you ignored the pop-up, it would remain there regardless of the time. But I guess an update was released to fix that, or I changed a setting somewhere. My laptop did a forced reboot on me after ignoring it for several days about 4 months ago. It's not a recent change even if you hadn't ignored it long enough to set it off until more recently. -- You have to explain to them [VB coders] what you mean by "typed". their first response is likely to be something like, "Of course my code is typed. Do you think i magically project it onto the screen with the power of my mind?" --- John Simmons / outlaw programmer
  • windows update forcing a reboot

    question announcement learning
    2
    0 Votes
    2 Posts
    0 Views
    P
    You could turn Windows Update off? That's what I do.. For some reason whenever it does a Windows Update it messes up Vista so that I have to repair it using the installation CD... :sigh: The reason Windows Update has to reboot is to update system files which it cant do whilst these files are in use by Windows.. So until you reboot, Windows hasn't actually been updated.. Microsoft offering brilliant software as usual... --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
  • OpenFileMapping call Fails on VISTA

    help security workspace
    2
    0 Votes
    2 Posts
    0 Views
    M
    Kernel object aren't visible between sessions unless you prefix the name with "Global\" --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ Dunder-Mifflin, this is Pam.
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • Turbo c

    tutorial question
    2
    0 Votes
    2 Posts
    0 Views
    P
    Why are you using Turbo C? That is something I've not used in a very long time :rolleyes: "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
  • Moving the users directory

    windows-admin help tutorial question workspace
    6
    0 Votes
    6 Posts
    0 Views
    P
    MS has yet to release a fix for a lot of stuff --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
  • run XP drivers in vista

    sysadmin performance help
    4
    0 Votes
    4 Posts
    0 Views
    P
    I have found compatibility mode to be awful, and it doesn't really do anything at all :sigh: --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
  • Reliability and Performance Monitor

    performance tutorial question
    2
    0 Votes
    2 Posts
    0 Views
    P
    Its Windows.. Isn't that enough info? You could use a restore point if you have one to restore Vista to when it "used to be quick" 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
  • Programatically obtaininig Program Files Directory

    c++ question
    3
    0 Votes
    3 Posts
    0 Views
    A
    thanks much Engineering is the effort !
  • Writing own drivers?

    hardware help question
    7
    0 Votes
    7 Posts
    0 Views
    L
    If you have about 2 years you might get somewhere. In other words, dont try it unless you really like pain, nd lots of it. Thay are a bitch to write. Seriously, about 100 times more complex than user mode code. There is SO much tat can go wrong in kernel code, you just wouldnt believe it. However, it is rather fun when you get it going. Truth is the subjection of reality to an individuals perception