windows-vista

“The RPC server is unavailable”

时光总嘲笑我的痴心妄想 提交于 2019-12-12 23:55:19
问题 this is driving me crazy. I have 2 testing machine, one XP, and one Vista. I am running the same commands on both. These commands include creating a logman counter ( like a perfmon with command prompt), starting these counters, then stopping them, and then deleting them. The problem is this: On XP they work perfectly, I am getting all the statistics, and it works always. On Vista, they work on the first time, but then I always get the error back, "The RPC server is unavailable." This happens

Which is the best location to keep program configuration file in WINDOWS?

 ̄綄美尐妖づ 提交于 2019-12-12 22:22:51
问题 My program requires some configuration details to be kept in a .ini file. This program also installs extensions to IE and firefox and i want to read these .ini file from these extensions also. If I kept .ini in "...AppData/Roaming..." the IE extension in protected mode won't be able to read/write. As far as I know only AppData/LocalLow can only be able to read in protected mode. If I am moving all my configuration details to this "...AppData/LocalLoe..." will it work all times? Is this the

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

OpenInputDesktop() to determine Secure/Login desktop

强颜欢笑 提交于 2019-12-12 16:07:44
问题 Visual C++ 2008 How to establish whether or not the currently interactive user is at either the Locked desktop (Windows-Key L) or the Shutdown Screen (Vista or 7) waiting for programs to close during log-out. HDESK hd = OpenInputDesktop(0, false, READ_CONTROL); This works fine for a user app on the Default desktop, but fails with error Code 5 when at the Locked or Shutdown desktops due to, I understand, the user not having permissions to open the secure desktop object. Calling this from a

Where is the krb5.ini file in alter Windows file gone?

此生再无相见时 提交于 2019-12-12 15:03:57
问题 at least till Windows XP there was a krb5.ini file if you join a domain with specific settings for the Kerberos REALM. Since Vista or 7 this file is not needed anymore. I am trying to find more information about this but got stuck. Where are the settings from the krb5.ini file now? Got it removed already in Vista or just with Windows 7? For Java applications you can either use the "system default" or you can specify a location to the krb5.ini file. But if you use the default on these later OS

How to install Umbraco on Windows 7

点点圈 提交于 2019-12-12 13:13:06
问题 i want to learn umbraco,and for start step,i need to know How to install Umbraco on Windows 7? i found my answer and made this link for farsi(persian) language 回答1: Best thing to do is grab WebMatrix, after install click on app gallery and choose umbraco, and that will walk you through it. Or if you have IIS running you can use the web platform installer(just click on applications and scroll down to umbraco) both of these will install 4.9 you'll have to upgrade to 4.10 manually. 来源: https:/

Which Vista edition is the best for developer machine? [closed]

拥有回忆 提交于 2019-12-12 10:35:06
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 years ago . Microsoft says that Visual Studio 2008 can be installed on any version of Vista (excluding started edition). But I am not sure, if Home Editions cause not problems with debugging, virtual machines, IIS, MS SQL 2008 and all other tools which developers use or with some old

Enable/disable hardware w/o Admin rights on Vista?

一个人想着一个人 提交于 2019-12-12 10:19:07
问题 I've been asked to provide a program/script/whatever that enables or disables the CD/DVD drive USB ports Floppy (!) drive devices without requiring admin rights, that is, that can be run by a 'normal' user. Ideally, something like a command line utility: C:> foobar cdrom /disable Any pointers, hints or clues gratefully accepted! Thanks, Rony 回答1: You could write a service that runs as a privileged account (e.g. Local System), and write a GUI front-end application which communicates with the

How does Vista generate the icon for documents associated to my application?

家住魔仙堡 提交于 2019-12-12 08:53:39
问题 Can I affect the process? I have an application built in .NET 3.5 / VS2008. I have embedded multiple icons into the app with a win32 .res file. This is done in the Properties box for the Project in VS2008 - instead of specifying an .ico file, tick the box to specify a .res file. In the .res file you can have multiple icons. See here for what I mean. Each icon includes a 256x256xRGB (PNG Cmopressed) "Vista grade" image, a 256x256x32bit image, and the usual cascade of 48x48, 32x32, and 16x16

What could cause redraw issues on 64-bit vista but not in 32-bit in .NET WInForms?

泪湿孤枕 提交于 2019-12-12 08:37:54
问题 This happens when compiling for Any Cpu as well as compiling to x86. Sections of the GUI doesn't redraw unless it's resized, for instance if the main form is maximized some of the controls don't resize with it, and others have sections that don't redraw and displays the what was previously there. This works fine on 32-bit machines, both XP and Vista, but on 64-bit Vista (don't have x64 XP to test with) the redrawing just isn't working properly. Anyone have any ideas on where to start tracking