windows-8.1

Can't load WinRT Component unless I reference the project

自古美人都是妖i 提交于 2019-12-03 03:29:12
I'm running into an odd problem. I created a Windows Runtime Component (for Windows Store) that makes some legacy C/C++ code available to .NET via some C# wrapper classes. I wrote a test harness Store App (hereafter referred to as "test1") that references the WRC project (both projects in the same solution). It calls into the component and everything works fine. Next I take the following output files from the WRC project: MyWrtComponent.dll MyWrtComponent.exp MyWrtComponent.pdb MyWrtComponent.pri MyWrtComponent.winmd ...and try to use them from another Store app project ("test2"). In this

Windows 8.1 / Windows 10 breaks my ASP.NET / IIS : “Service unavailable”

旧城冷巷雨未停 提交于 2019-12-03 02:31:09
问题 With Windows 8.1 finally released to MSDN/Technet today I came across the following issue running my ASP.NET application after doing an in place upgrade with Win 8.1 RTM: Service Unavailable HTTP Error 503. The service is unavailable. The AppPool has died and shows a status of Stopped The IIS log has nothing There's a clue is in the Windows Application log which contains this error The Module DLL C:\WINDOWS\system32\inetsrv\rewrite.dll failed to load. The data is the error. How can I recover

Startup is really slow for all Cygwin applications

半腔热情 提交于 2019-12-03 00:29:41
问题 Start of any Cygwin application takes more than a minute on Windows 8.1 x64. It doesn't matter, either I'm starting mintty from shortcut or cygwin.bat or ls.exe or bash.exe from bin folder. Each of them will be slow. After Bash or mintty is started they are working fairly quick: $ time for i in {1..10} ; do bash -c "echo Hello" ; done Hello ... Hello real 0m1.273s user 0m0.060s sys 0m1.181s Steps, which I've tried: Reinstalled and tried both Cygwin and Cygwin64 a few times (version 2.864)

Unable to install GitHub for Windows

两盒软妹~` 提交于 2019-12-02 23:34:20
I'm trying to install github for windows when I received this error: Application cannot be started. Contact the application vendor. The error log produced this: PLATFORM VERSION INFO Windows : 6.2.9200.0 (Win32NT) Common Language Runtime : 4.0.30319.34014 System.Deployment.dll : 4.0.30319.33440 built by: FX45W81RTMREL clr.dll : 4.0.30319.34014 built by: FX45W81RTMGDR dfdll.dll : 4.0.30319.33440 built by: FX45W81RTMREL dfshim.dll : 6.3.9600.16384 (winblue_rtm.130821-1623) SOURCES Deployment url : http://github-windows.s3.amazonaws.com/GitHub.application ERROR SUMMARY Below is a summary of the

http client cancel request in windows 8.1

て烟熏妆下的殇ゞ 提交于 2019-12-02 22:54:22
I am working on a Windows Phone 8.1 project. There are two versions of http client in Windows 8.1 - system.net.http and windows.web.http . Microsoft recommends using the later. So, I decided to go with it. But I can't find a way to cancel the web request started with windows.web.http.httpclient . In system.net.http.httpclient there is a CancelPendingRequests method but no similar methods exist for the later option. So, is it possible to cancel the web request and if so how? Sample Code: Consider a Http Get request google as follows. I would like to cancel it before its completion if the user

Encrypt string with Bouncy Castle AES/CBC/PKCS7

给你一囗甜甜゛ 提交于 2019-12-02 22:07:04
I have been looking everywhere for some sample code on how to encrypt a simple string with the encryption in the title using the Bouncy Castle Framework. This code will run on a Windows Universal project. My previous attempts to encrypt using the build in API's failed to decrypt on the server. I tried this: which gives me a string like: 4pQUfomwVVsl68oQqWoWYNRmRM+Cp+vNFXBNdkN6dZPQ34VZ35vsKn9Q7QGTDVOj+w5mqVYHnGuAOFOgdgl8kA== s = String.Format("{0}_{1}", s, DateTime.Now.ToString("ddMMyyyyHmmss")); SymmetricKeyAlgorithmProvider algorithm = SymmetricKeyAlgorithmProvider.OpenAlgorithm

SQL Developer with JDK (64 bit) cannot find JVM

时光怂恿深爱的人放手 提交于 2019-12-02 20:18:46
I just wasted one morning trying to get SQL developer to work on my current setup: OS: Windows 8.1 virtual machine running on mac via Parallels. No oracle client or instant client installed No Java installed The reproducible steps are I downloaded SQL Developer for Windows with JDK (all 64-bit) and unzipped it to C:/Program Files/. I double clicked on C:/Program Files/sqldeveloper/sqldeveloper.exe I get the following message: Unable to launch the Java Virtual Machine Located at path: C:/Program Files/sqldeveloper/jdk/jre/bin/server/jvm.dll Can someone please help me? I also tried first

How to detect windows8.1 start menu?

最后都变了- 提交于 2019-12-02 18:12:56
问题 When we press start menu on windows 8.1 it show up all new start menu with apps in form of tiles. This menu shows up on entire screen. Is there a way to detect if this menu is open in c++. Is there a winAPI to do so in 8.1 SDK. Thanks in advance. 回答1: Call CoCreateInstance(CLSID_AppVisibility,...) to get the object that implements IAppVisibility then call IAppVisibility::IsLauncherVisible to see if the start menu is visible. This is demonstrated in the Start screen visibility sample 回答2: I am

How can I run a command in windows store app?

寵の児 提交于 2019-12-02 18:09:49
问题 I need to run a command from windows store app? the command is something like this : java -jar abc.jar How can I do that? EDIT : I tried this but with no luck. It says file not found. string exeFile = @"C:\DATA\start.bat"; var file = await Windows.ApplicationModel.Package.Current.InstalledLocation.GetFileAsync(exeFile); if (file != null) { // Set the option to show the picker var options = new Windows.System.LauncherOptions(); options.DisplayApplicationPicker = true; // Launch the retrieved

How to i make a .bat that targets a program and types in a text box

守給你的承諾、 提交于 2019-12-02 18:04:34
问题 I have no idea where to start on this one. I have seen answers that are like this but I don't know how to format them for what I want. I just need to target the minecraft server while its open and close it by typing "stop" in the console. I have no code to show for but this will be in a other file so I can launch it and then have it close the program. btw I don't think I can use taskkill But anything will help ;) thankyou very much! 回答1: This is not possible using a batch file alone. There