windows-xp

“is not a valid win32 application” on windows xp

回眸只為那壹抹淺笑 提交于 2019-12-13 02:19:56
问题 Phenomenon: Build a c++ program using visual studio express 2015 on windows 7 platform. Copy the executable file to xp system, cannot run with the error"not a valid win32 application" Have tried two things go to "configuration properties" and set the "Platform Toolset" to "visual studio 2015 - windows xp(v140_xp)" go to "configuration Manager" and set the Platform to "Win32" (instead of x64) after these steps, still gives me same problem. anyone knows what is the root cause of this problem?

Central european characters in Vim and printing (PDFing) them out

好久不见. 提交于 2019-12-13 01:24:08
问题 I'm trying to persuade GVim 7.3 to correctly print ( :hardcopy ) central european characters (šđčćž ŠĐČĆŽ) to PDF. Settings which I believe to be relevant set encoding=utf8 set fileencodings=ucs-bom,utf8,cp1250,latin1 set guifont=Consolas:h9:cEASTEUROPE set printfont=Consolas:h9:cEASTEUROPE After changing the encoding to cp1250 (and writing them again, since the change in encoding screws the up) they print out correctly. Now, I thought utf-8 was a much bigger and more complete set than cp1250

How can I notify my application that the default sound playback device has changed?

岁酱吖の 提交于 2019-12-13 00:54:53
问题 I have two sound cards on my Win XP SP3 computer, and I've written a C++ app, with which I change the default playback device by editing the following Registry entry: regKey = Registry.CurrentUser.OpenSubKey(@"Software\Microsoft\Multimedia\Sound Mapper", true); My app changes the "Playback" key value for the purposes of using the first or second sound card as the default playback device. The problem is when I change the default device, the application still uses the old one (which was set as

How to get windows xp gui default code page?

怎甘沉沦 提交于 2019-12-13 00:41:46
问题 The thing is that on non-english versions of XP code pages for console and gui apps differ, for example if I on my Polish version write in console: echo zażółć gęślą jaźń > somefile.txt The content of that file is: zaľ˘† g©lĄ ja«ä This isn't happening if I put that into cmd file. That is this text with polish letters. But if I create a file or directory that is named using non English only chars, then no matter if it's run from cmd or from finger the effect is always gibberish. So my question

C++ DLL returning pointer to std::list<std::wstring>

筅森魡賤 提交于 2019-12-12 21:04:10
问题 I got a dll with the following prototype: DLL_EXPORT std::list<std::wstring>* c_ExplodeWStringToList(std::wstring in_delimiter, std::wstring in_string, int in_limit); The application uses this like that: std::list<std::wstring>* exploded = mydllclass->c_ExplodeWStringToList(L" ", in_command.c_str(), 0); This works great under XP 32, but when I try this at home with my Vista 64 my program just closes itself. No error and no warning? Some days ago the DLL was returning the list directly - no

Where in windows registry the console width is stored?

十年热恋 提交于 2019-12-12 19:04:20
问题 My default console width is 80, but when I look into HKCU\Console there isn't a name that has this value. Only one that has supposedly to do with with is: WindowSize but it has value of 0x190050, that is dec: 1638480. Do the last two digits of it represent value I'm searching for ? 回答1: In HKCU\Console 0x19 = 25 0x50 = 80 So this is 25x80 In decimal, it's rows times 65,536 plus columns. (25 * 65536) + 80 = 1638480 Documentation is here. 来源: https://stackoverflow.com/questions/10664039/where

Obtaining GUID for Existing USB Device on Windows XP

假装没事ソ 提交于 2019-12-12 17:15:52
问题 I need to find the GUID for an existing USB device attached to my Windows XP system. How can this be done using WMI or the registry? Or, is there another avenue that I should explore? Thanks. Additional Information: I need to find the GUID for a specific known device; it is not expected to change. If I need to write a little program, use some tool, or look somewhere in the Windows system to find this information, it's all the same to me. 回答1: For a specific known device, the easiest way I've

Win 7 good VB6 development environment? [closed]

你说的曾经没有我的故事 提交于 2019-12-12 16:18:21
问题 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 . I have Win 7 on my laptop and I would like to use it as a VB6 dev environment when travelling. Are there any reasons not to do this?

where does msscript.ocx gets installed from

跟風遠走 提交于 2019-12-12 13:41:32
问题 I'm using msscript.ocx in my application which is an activex scripting host for windows. Although I want to be able to use the same for XP embedded(XPe) which's highly customizable. 1.I want to know whether on XPe, msscript.ocx can be optionally installed or not? 2.Where does it get installed from, IE? 3.Or is it a windows core component which gets installed during the XPe setup?(I know one can unregister it, but can it be an optional installation) Answering any or all of these questions will

Nginx on Windows using WSGI

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-12 12:38:02
问题 now that i've decided to use Nginx as my favourite webserver to deploy Django, i got some "mist": i'm on Windows, that said, i got errors when i try to use Django as FastCGI, it seems that Flup dont load! it give me errors! and from the website, flup is not a good friend of Windows: check out here all tutorials that i've found says that ngnix is good when it's used as reverse proxy, i already asked this question, and this is why it seems that now i can use 100% ngnix. i'll make my project on