windows-xp

Vista or XP for Dev Machine

I am about to get a new PC from work, and it will include the option to have either Vista Business as the OS, or a downgrade to XP Pro. Aside from a tiny bit of testing, I have never used Vista, but overall I have heard many more bad reports than good regarding Vista. I don't think that hardware will be an issue (Intel Core Duo T9300, 4G...

In C++/Windows how do I get the network name of the computer I'm on?

In a C++ Windows (XP and NT, if it makes a difference) application I'm working on, I need to get the network name associated with the computer the code is executing on, so that I can convert local filenames from C:\filename.ext to \\network_name\C$\filename.ext. How would I do this? Alternatively, if there's a function that will just do...

Windows MiniDump files -- "Symbols can not be loaded" when trying to read with WinDbg

I have an application that sometimes causes a BSOD on a Win XP machine. Trying to find out more, I loaded up the resulting *.dmp file (from C:\Windows\Minidump), but get this message when in much of the readout when doing so: Symbols can not be loaded because symbol path is not initialized. * * The Symbol Path can be set by: ...

Opening Explorer shell with admin priveleges on XP (with IE7 installed)

I used to demote my user account so that it had no admin priveleges and used a 'sudo-like' trick where you create a shortcut to IE6 and enabled the 'Run with different credentials' option to open a shell window as local admin so I could install, uninstall things etc. When I upgraded to IE7 this stopped working - IE7 launches Windows Exp...

What tools do you use to stress test programs on Windows XP?

I would like to be able to control the available memory and CPU resources. What kind of tools do you use to do this? ...

Please recommend a Java profiler

I am looking for the Java equivalent of gprof. I did a little Java profiling using System.getCurrentMillis(), and saw several GUI tools which seem too much. A good compromise could be a text-based Java profiler, preferably free or low-cost, which works in either Windows XP or Linux. ...

Why go 64 bit OS?

On these questions: Which Vista edition is best for a developer machine? Vista or XP for Dev Machine People are recommending 64 bit, can you explain why? Is it just so you can have more then 3Gb of addressable RAM that 32 bit gives you? And how does Visual Studio benefit from all this extra RAM? I went from 64 bit XP back to 32 bit...

DCOM: CoCreateInstanceEx returns E_ACCESSDENIED

I'm working on a DCOM application with the server and client on two machines, both of which are running WinXP with Service Pack 2. On both machines, I'm logged in with the same username and password. When the client on one machine calls CoCreateInstanceEx, asking the other machine to start up the server application, it returns E_ACCESSD...

Get application name from Windows XP cut and paste?

This is a bit of a long shot, but if anyone can figure it out, you guys can... In Windows XP, is there any meta-data that comes with a cut and paste action, from which I can ascertain the application that provided the clipboard contents? Bonus question... if there is such information, is there any way I can access it through a Java app...

What are the main differences between programming for windows XP and for Vista?

From a desktop application developer point of view, is there any difference between developing for windows XP and developing for windows Vista? ...

How does WinXP's "Send to Compressed (zipped) Folder" decide what to include in zip file?

I'm not going to be too surprised if I get shot-down for asking a "non programming" question, but maybe somebody knows ... I was zipping the contents of my subversion sandbox using WinXP's inbuilt "Send to Compressed (zipped) Folder" capability and was surprised to find that the .zip file created did not contain the .svn directories and...

Wifi Management on XP (SP2/SP3)

Wifi support on Vista is fine, but Native Wifi on XP is half baked. NDIS 802.11 Wireless LAN Miniport Drivers only gets you part of the way there (e.g. network scanning). From what I've read (and tried), the 802.11 NDIS drivers on XP will not allow you to configure a wireless connection. You have to use the Native Wifi API in order to do...

.Net - Detecting the Appearance Setting (Classic or XP?)

Hey stack, I have some UI in VB 2005 that looks great in XP Style, but goes hideous in Classic Style. Any ideas about how to detect which mode the user is in and re-format the forms on the fly? Thanks in Advance! -Chris Post Answer Edit: Thanks Daniel, looks like this will work. I'm using the first solution you posted with the Get...

Is there a secret trick to force antialiasing inside Viewport3D in Windows XP?

Under Windows XP WPF true 3D content (wich is usually displayed using the Viewport3D control) looks extremely ugly because it is by default not antialiased as the rest of the WPF graphics are. Especially at lower resolution the experience is so bad that it can not be used in production code. I have managed to force antialiasing on some ...

How to loop through files matching wildcard in batch file

I have a set of base filenames, for each name 'f' there are exactly two files, 'f.in' and 'f.out'. I want to write a batch file (in Windows XP) which goes through all the filenames, for each one it should: Display the base name 'f' Perform an action on 'f.in' Perform another action on 'f.out' I don't have any way to list the set of ...

Custom titlebars/chrome in a WinForms app

I'm almost certain I know the answer to this question, but I'm hoping there's something I've overlooked. Certain applications seem to have the Vista Aero look and feel to their caption bars and buttons even when running on Windows XP. (Google Chrome and Windows Live Photo Gallery come to mind as examples.) I know that one way to accom...

Howto Enable Font Antialiasing in Windows

I have downloaded a font that looks less than desirable if it is not anti-aliased. I can not figure out how to enable anti-aliasing in VS, I have changed the 'Smooth Edges of Screen Fonts' in the system performance options but that does not seem to help. VS2008 on XP SP3. What am I missing? ...

Remote debugging an NT application from XP with Visual Studio 6.0

Is it possible to remote-debug a Visual C++ 6.0 application running on a Windows NT machine from a developer workstation running Windows XP? If so, is there a procedure written up somewhere? ...

How to create symbolic links in Windows?

Related In .NET, how do I Create a Junction in NTFS, as opposed to a Symlink? I've tried Winbolic (Windows XP), but I can't get it to work the way I want. Am I wrong here? If I create a symbolic link within a folder in my %PATH%, the referenced directory should work as if it had actually been added to %PATH%, right? ...

Rotate Windows XP Desktop

My LCD rotates. The software that comes with my ATI card to rotate the desktop just crashes (I've uninstalled, reinstalled and rolled them back, still crashes). Is there any other way to rotate a Windows XP Desktop by 90 degree increments? I am looking for either software or code (any language is fine.) I know I have seen 3rd party s...