windows-vista

DirectX and WPF

时光总嘲笑我的痴心妄想 提交于 2020-01-04 02:18:47
问题 I am trying to develop an application where the UI part is designed by WPF and the engine is developed using C++. I am trying to render a scene using DirectX in native code by getting the window's handle from WPF using WindowsFormsHost method. Though i do not get any error, no image renders on the screen. As far as the handle is concerned, I dont see a problem because when i render the scene using OpenGL using the same handle in native code, it works properly. As far as the initialization

Adding certificate to trusted root authority

纵然是瞬间 提交于 2020-01-03 03:43:07
问题 I have moved to Windows Vista Business recently and am facing an issue with installng my networks cetiicate in the trusted root authority. on clicking on install certificate, i select the store where the certificat should be stored, which is Trusted Root Authorities-->Local Computer In XP. but in Vista i am not getting the Option to store on Local Computer. instead i only get Registry and Smart Card. Anyone who can help me to add the certificate in the Local computer Store? 回答1: i have just

Programmaticaly prevent Vista desktop search (WDS) from indexing pst files placed on mapped network drives

限于喜欢 提交于 2020-01-02 21:09:53
问题 After several days and multiple attempts I didn't find any 100% solution for this trouble. My search and investigation scopes: Direct access to registry: HKLM\SOFTWARE\Microsoft\Windows Search\CrawlScopeManager\Windows\SystemIndex\WorkingSetRules HKCU\Software\Microsoft\Windows Search\Gather\Windows\SystemIndex\Protocols\Mapi HKLM\SOFTWARE\Microsoft\Windows Search\Gather\Windows\SystemIndex\Sites\ and other keys... Windows Search 3.X interfaces like ISearchManager using Microsoft.Search

disable folder virtualization in windows

孤街浪徒 提交于 2020-01-02 09:05:21
问题 I currently have a c++ application that gets built on xp and windows vista/7 virtualize some of the paths which i dont want it to do. Some sites says to add this to manifest file: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> <security> <requestedPrivileges> <requestedExecutionLevel level="asInvoker" uiAccess="false"/> </requestedPrivileges> </security> <

disable folder virtualization in windows

风流意气都作罢 提交于 2020-01-02 09:02:09
问题 I currently have a c++ application that gets built on xp and windows vista/7 virtualize some of the paths which i dont want it to do. Some sites says to add this to manifest file: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> <security> <requestedPrivileges> <requestedExecutionLevel level="asInvoker" uiAccess="false"/> </requestedPrivileges> </security> <

Executable Jars running very slowly

为君一笑 提交于 2020-01-02 05:33:17
问题 I've done several projects and packaged them into jar files, but I've noticed that my jar files run much more slowly than in my IDE. I use Eclipse to compile and run my programs. In Eclipse, I have everything working. When I package my project as a runnable Jar and execute it by double-clicking, everything still works. But when I have animation, the program runs extremely slowly. Instead of 30 frames per second in Eclipse, I now get about 2 frames per second. The animation is very laggy.

File Open Dialog with Encodings combobox under Vista

╄→尐↘猪︶ㄣ 提交于 2020-01-01 17:14:12
问题 I currently use the TOpenTextFileDialog as it has the Encodings option, but under Vista it appears using the older open dialog style. I'd like the new style open dialog, but with an encoding combobox that I can fill with custom strings. Basically I want the exact open dialog that Notepad shows under Vista. Of course I also need the corresponding save dialog as well. I've done some research and it seems that the OFN_ENABLETEMPLATE flag causes the Vista common dialog to fall back to the old

How do I set up smtp on Vista so I can use System.Net.Mail?

≯℡__Kan透↙ 提交于 2020-01-01 09:23:17
问题 From what I understand there is no SMTP server in IIS on Vista. I am working on a project which will require me to send email. I'd like to start with some simple prototypes on my development box which is running Vista Ultimate. I'm not connected to a corporate network where I can just use an exchange server someplace. I realize that there are several smtp servers that I can install, but I'm not sure what to do once I install one. I know how to write the code to send the email, but I don't

c# excel dll - can't add a reference to the specified file - regasm

点点圈 提交于 2019-12-30 12:38:07
问题 When deploying and registering a .Net Excel.dll on another computer, I get an error Can't add a reference to the specified file when attempting to add reference to DLL in VBA editor. I have created the Excel.dll in C# in Visual Studio that runs fine on my machine with Windows 7 and Office 2010 . No problem adding reference to the dll in Excel VBA editor on my computer. My problem is deploying on another machine which is running Vista and Excel 2007 . I copied dll to this computer and used

How do I handle a failed DllImport?

你离开我真会死。 提交于 2019-12-30 10:10:31
问题 I'm attempting to write a C# managed class to wrap SHGetKnownFolderPath, so far it works on Vista, but crashes on XP due to not finding the proper function in shell32.dll, as expected. I want to have it set so I can fallback on a (admittedly hacky) solution using System.Environment.GetFolderPath if using XP. (Or, even better, if it can't find the funciton in shell32.) Is there any way to do this other then conditional compilation? My current code looks like: public abstract class KnownFolders