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
  • Where's Add/Remove programs?

    question com code-review
    6
    0 Votes
    6 Posts
    21 Views
    realJSOPR
    Marc Clifton wrote: how do I remove things (like codecs that crash Vista)? Because of the heightened security in the OS, you have to format your hard drive and start over. "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
  • Internet cache

    question
    3
    0 Votes
    3 Posts
    9 Views
    W
    I eventualy found the solution. IE7 reports the temporary internet folder being: C:\Users\$USER$\AppData\Local\Microsoft\Windows\Temporary Internet Files This was confirmed with a call to SHGetFolderPath. But browsing this folder does NOT show content downloaded from the internet. What it does show is local content from apps like MSDN 'Document explorer'. Selecting "view hidden files and folders" and "show system files and folders" is of no help here. After some browsing, I discovered that while IE7 is in protected mode, it reads and writes a special Low version of everything. This may be a bug in vista or simply a setting somewhere, but viewing these items is not easy. The real location of the temporary internet files is C:\Users\$USER$\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5 The same goes for the Cookies, History and Temp folders. I hope this is of use to somebody.
  • Rant VS2003

    visual-studio com design help
    5
    0 Votes
    5 Posts
    16 Views
    M
    I just rebuilt my laptop with Vista RTM and I was going through the VC8 options, changing stuff to how I like it. After a few minutes of clicking (and comparing stuff with VC6 so they both look the same), I clicked OK and..... nothing. I got the SPINNY CURSOR OF DOOM. :sigh: (I wonder if MS meant to make that cursor like the Mac's Beachball Of Death.) --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
  • Which antivirus

    help security beta-testing announcement
    9
    0 Votes
    9 Posts
    32 Views
    I
    AVG Free Edition[^]
  • Dual Boot Weirdness

    visual-studio
    3
    0 Votes
    3 Posts
    8 Views
    A
    Be careful with this one John. AFAIK the versions of NTFS included in Win2k and Vista are different, so you may get oddities like this if one OS can see the other. For what it's worth, the same issues don't seem to appear between XP and Vista. It may be that they do appear between Win2k and XP, though. Anna :rose: Linting the day away :cool: Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"
  • Vista + Resharper

    help announcement visual-studio csharp com
    4
    0 Votes
    4 Posts
    12 Views
    A
    Just out of interest - what's the filename of the installer? Apparently Vista will automatically elevate an installation process only if it contains the words "Setup" or "Install" in the filename. If the Resharper installer doesn't, it won't elevate by default. :doh: Anna :rose: Linting the day away :cool: Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"
  • 32 or 64 bit.

    design help question announcement
    10
    0 Votes
    10 Posts
    27 Views
    N
    Running 32bit apps depends on what chip you have. I have AMD x64 processors which are designed to run 32bit and 64bit simultaneously. Out of three systems I've migrated I haven't found any incompatibilites with apps, I did one machine as an upgrade from WinXP and the other two as fresh installs. All drivers loaded flawlessly. The HP printer issue is with networked printers. richocheah wrote: my lecturer told me WINXP have extra about 50-60 bugs on visual studio which cannot be solved yet :laugh::laugh::laugh: Show me a list! I can't recall any bugs in VS related to WinXP. only two letters away from being an asset
  • vista and vc++ 6

    c++ question
    9
    0 Votes
    9 Posts
    21 Views
    M
    hmmm, well that's depressing. There's no entry for the VM in add/remove. I might just wipe/reinstall anyway, because I found out that you need 1.5GB on your boot partition to use BitLocker (which is not mentioned on any MS blogs, unfortunately, the examples I found use really small volumes) and I only made a 1GB partition. :doh: --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
  • What do you wish they had included?

    c++ linux question
    7
    0 Votes
    7 Posts
    20 Views
    P
    John Simmons / outlaw programmer wrote: I can't believe that so many people have such a diminished sense of humor... Hey, I thought it was funny and gave you a 5 for it :-D Some people have a memory and an attention span, you should try them out one day. - Jeremy Falcon
  • Missing Buttons

    data-structures question
    5
    0 Votes
    5 Posts
    19 Views
    W
    It kinda makes sense now that 'Hansel and Grettel' comes to mind. Not quite in the MS scheme of naming things though. Suppose it won't be long before an article or two come up on CP for it.
  • TweakUI?

    regex question
    4
    0 Votes
    4 Posts
    18 Views
    W
    It should have no effect on your 2k install since the settings are all contained in vista's registry. The drive will always be there, but vista won't be able to access it ( not sure about file system checking while it boots though ). Check my prev post, I have provided a link to TweakVI though I haven't tested it yet.
  • VS2005 GUI issues

    help visual-studio data-structures question announcement
    6
    0 Votes
    6 Posts
    23 Views
    W
    Well, I have updated vista to the release build, and added SP1 to VS, yet the problem remains. The treeview of the solution explorer is not being painted correctly. Any time it loses focus, large white rectangles appear over the text. The problem may relate to VAssistX, but I am not going to go through the whole process of installing again to find out. I hope that MS release a new build of VS as soon as they have corrected all these problems ( supposedly the first quart of 2007 ). I swear, if they release SP2 for VS I am switching compilers! :mad:
  • Releasing DC (memory leak )

    performance question announcement
    5
    0 Votes
    5 Posts
    17 Views
    H
    This is Vista forum but it seems that you choose wrong forum for your question. WhiteSky
  • Anyone using IIS7 successfully ?

    help asp-net c++ com sysadmin
    2
    0 Votes
    2 Posts
    7 Views
    L
    Just received a TechNet Newsletter from Microsoft where a link to a PowerShell blog that referenced this http://www.iis.net/default.aspx?tabid=7[^] Presumably you will find its contents interesting including the Virtual Lab at http://virtuallabs.iis.net/[^]
  • Changing Default OS [modified]

    com linux tools question
    3
    0 Votes
    3 Posts
    9 Views
    M
    The boot configuration system had to change, allegedly, to support EFI[^]. Since it's a new system, the old tools in Windows 2000 cannot modify the configuration. There is a GUI interface, in the same place as in Windows 2000, XP and Server 2003: Control Panel, System, Advanced tab, click Settings under Startup and Recovery, then select the appropriate choice from the Default Operating System dropdown. bcdedit is really for people who want to modify default boot options, for example loading with the debugger enabled. Stability. What an interesting concept. -- Chris Maunder
  • explorer crashing

    help question
    6
    0 Votes
    6 Posts
    20 Views
    S
    XP crashes if you have a corrupt avi file in a dir... Its annoying, you open a dir with a load of avi files, and you can't delete them or move them until it finishes looking at each one to workout out what the resolution is etc...
  • IE or FireFox

    10
    0 Votes
    10 Posts
    27 Views
    M
    IE7 feels clunky now that I've been using FF for a while. Little things don't work in IE7 like they do in FF, for example middle-clicking a bookmarkfavorite to open it in a new tab. I also hate the IE7 button layout. I still can't figure out why they didn't move the stop/reload buttons back where they should be, after the metric tonne of bad feedback it generated on IE blogs. *shrug* The IE7 tabs are just fugly-looking. --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
  • Running a dev setup as non-admin [modified]

    workspace com design testing beta-testing
    2
    0 Votes
    2 Posts
    9 Views
    M
    I pretty much have to run VC elevated. VC6 help doesn't work non-elevated, and any projects that do COM registration (in any version of VC) will choke if VC is not elevated because regsvr32 won't be able to write to HKCR. --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
  • What's new

    question design workspace
    10
    0 Votes
    10 Posts
    42 Views
    W
    Thanks for the warning. I think I will completely disable any access to the XP drive from vista and vice-versa. I am trying to set it up in such a way that I have onw partition solely for the vista OS, one for XP, and another for installed program files ( which is on an external HD ).
  • Question on WPF and other layers

    question announcement csharp wpf algorithms
    3
    0 Votes
    3 Posts
    11 Views
    D
    Thanks for the reply. I was actually thinking of installing VS 2005 on Vista tonight and see what I can program using Vista features. That link seemed to answer my questions on extra installs I need. Thanks again for the time on this. Enjoy your day. Steve Welborn Software Engineer BitWise Solutions