windows-xp

Need to get Start Menu Paths in Java

蓝咒 提交于 2019-12-10 17:41:36
问题 Using java, I would like some code that could get me the paths for: 1) Start Menu for Current User 2) Start Menu for All User I need the answer for both WinXP and Win7. So hopefully there is a general answer that can get me both. 回答1: You have no other choice but to write a DLL and call native Windows API: SHGetFolderPath (NULL, CSIDL_PROGRAMS, NULL, SHGFP_TYPE_CURRENT, &szPathBuffer) SHGetFolderPath(NULL, CSIDL_COMMON_PROGRAMS, NULL, SHGFP_TYPE_CURRENT, &szPathBuffer) If you really need the

Why won't Direct3D recover after unplugging a monitor in Windows XP?

那年仲夏 提交于 2019-12-10 16:51:28
问题 An interesting bug came up that I'm having no luck with. In a windowed Direct3D9 program using native code, I handle a device lost using something similar to the following: void MyClass::RecoverFromDeviceLost(LPDIRECT3DDEVICE9 deviceToRecover, D3DPRESENT_PARAMETERS devicePresentParams ) { HRESULT hr = deviceToRecover->TestCooperativeLevel(); if(hr == D3DERR_DEVICELOST ) { //Code to shutdown all D3DPOOL_DEFAULT allocated objects }else if(hr == D3DERR_DEVICENOTRESET){ hr = deviceToRecover-

Highest .NET version supported by Windows XP

断了今生、忘了曾经 提交于 2019-12-10 16:39:01
问题 What is the highest version of the .NET framework that is supported by Windows XP (32-bit) 回答1: Depends on the version of Windows XP you have, "Windows XP Home Edition" and above supports up to .NET 4.0 while "Windows XP Home Reduced Media Edition" only supports up to .NET 3.5, see the link below for the specific version of .NET supported on different editions of Windows XP. .NET Framework System Requirements 回答2: The .NET Framework 4.0.3 is the latest version for Windows XP Requirement: .NET

QApplication::setWindowIcon works on Windows XP, but does not work on Windows 7

喜你入骨 提交于 2019-12-10 16:00:55
问题 In a simple Qt application starting like this: int main(int argc, char* argv[]) { QApplication app(argc, argv); app.setWindowIcon(QIcon(":/qapp/appicon.ico")); ... we set the icon in the second line (this line and icon file in resources is the only difference between my test program and application generated by Qt wizard). This application works perfect on Windows XP, but on Windows 7 we can't see our icon in top-left corner of the window (system shows default icon instead of my appicon.ico).

Digital signature timestamp “not available” on XP/Vista, causing verification failure

倾然丶 夕夏残阳落幕 提交于 2019-12-10 15:39:54
问题 Background I have a WiX/Burn installation bundle which, among other things, installs the ReportViewer 2012 Runtime. When run on a Windows 7 or later machine, it works fine. On XP (SP3) or Vista (SP1) it fails. Now, checking the download page for the ReportViewer redistributable, I do notice it says it requires Vista SP2 or higher. Normally I would accept this, but a)I think this has recently changed, and b)downloading and manually installing this redistributable works. It's possible there are

“Out of memory” with simple Win32::Unicode::File readline loop and Strawberry Perl

风流意气都作罢 提交于 2019-12-10 15:28:18
问题 The issue I have can be found by running the following code in Strawberry perl 5.12.3.0 on Windows XP. #!/usr/bin/perl -w use strict; use warnings; use Win32::Unicode::File; use Encode; my $fname = shift @ARGV; my $fh = Win32::Unicode::File->new; if ($fh->open('<', $fname)){ while (my $line = $fh->readline()){} close $fh; }else{ print "Couldn't open file: $!\n"; } The only thing that is happening here is that I perform a readline and this keeps eating memory until I get an Out of memory error

Will MS drop support for XP in .Net 4.* or 5.*? [closed]

拟墨画扇 提交于 2019-12-10 15:07:50
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . Does it matter to developers that the current, and newer versions of .Net don't support windows 2000? It scares me to think that

Bluetooth Application development using Microsoft XP SP2

孤街浪徒 提交于 2019-12-10 13:32:26
问题 This question was migrated from Super User because it can be answered on Stack Overflow. Migrated 8 years ago . I am looking for vendor independent way of accessing Bluetooth profiles like A2DP, AVRCP , MAP, HFP on XP either using SP2 or winsock. I am in process of finalizing way to create application for Bluetooth. I would need to use following profiles apart from service discovery : HFP, A2DP , AVRCP ,MAP. Till date my study is : Microsoft XP SP2 provides a basic stack. I have figured out

How to target Windows XP sp3 when compiling with Visual C++ 2010?

笑着哭i 提交于 2019-12-10 12:24:36
问题 I am trying to compile a C++ program using Visual Studio 2010 Pro on a Windows 7 computer to target Windows XP sp3 32 bits. I've played around with the compiler and linker settings, but I'm unable to produce an executable that can run on my Windows XP computer. I always get the error "Could not find entry point for function GetTickCount64 in kernel32.dll" and the program doesn't run. I know Windows XP does not support GetTickCount64() and I'm not using it in my code anyways. I don't have

New AVD takes a picture saves to clipboard

江枫思渺然 提交于 2019-12-10 11:39:19
问题 When I create a new Android Virtual Device and run it for the first time in Eclipse, I have noticed that it activates my webcam and takes a picture. This picture is saved to my clipboard. But I was wondering if this is normal and happens to anyone? INFO: Android Development Toolkit Version: 16.0.1.v201112150204-238534 Android 4.0.3 API level 15 Running on Windows XP EDIT: Tracked it down to what I think is the SDL_app process. Also when I disabled my clipboard and started it up I got this