windows-7-x64

Android studio: emulator-x86.exe stopped working after creating the window for the emulator

早过忘川 提交于 2019-12-06 05:26:36
I just installed Android studio, and I am now trying to set up the device emulator. But it keeps crashing in the middle of invoke process. The error says: emulator-x86.exe stopped working in the middle of invoking I've tried to: Change the resolution of the device to 800X600. Reduce the size of the Ram by 512 MB. But it didn't work out. For example, below is the message be in the 'Run' panel in the Android Studio: C:\Users\VAIO\AppData\Local\Android\sdk\tools\emulator.exe -netdelay none -netspeed full -avd II_Nexus_5_API_16 emulator: device fd:596 HAX is working and emulator runs in fast virt

Nuitka on Windows

五迷三道 提交于 2019-12-06 04:36:16
问题 Having problems to compile hello-world.py using Nuitka on windows. The command I am using is: nuitka --standalone --portable --remove-output --recurse-all --python-version=3.4 hello_world.py The error is: WindowsError: [Error 2] The system cannot find the file specified: File "C:\Users\win_user\Anaconda3\Lib\site-packages\nuitka\build\SingleExe.scons", line 866: shell = False File "c:\Python27\lib\subprocess.py", line 709: errread, errwrite) File "c:\Python27\lib\subprocess.py", line 957:

Using SQLite from PowerShell on Windows 7x64?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-06 04:33:21
问题 I'm having a difficult time trying to load System.Data.SQLite.dll from PowerShell in Windows 7 x64. # x64 [void][System.Reflection.Assembly]::LoadFrom("C:\projects\PSScripts\lib\System.Data.SQLite.x64.DLL") # x86 #[void][System.Reflection.Assembly]::LoadFrom("C:\projects\PSScripts\lib\System.Data.SQLite.DLL") $conn = New-Object -TypeName System.Data.SQLite.SQLiteConnection $conn.ConnectionString = "Data Source=C:\temp\PSData.db" $conn.Open() $command = $conn.CreateCommand() $command

Can't preview text file attachments in Outlook

这一生的挚爱 提交于 2019-12-06 04:11:57
Something is wrong with my preview handlers in Outlook. When I receive an email with a .txt attachment*, if I click on it, I get this message in the preview pane: This file cannot be previewed because of an error with the following previewer: Windows TXT previewer * This problem applies not only to .txt files, but to any file types that are associated with the prevhost.exe preview handler (e.g., .rtf,. .sql, .reg, .bat, etc) Following a suggestion from this post , I deleted the Windows TXT Previewer from the following registry folder (after backing it up, of course): [HKEY_LOCAL_MACHINE

Running a scanning app on a 64-bit machine via ClickOnce

◇◆丶佛笑我妖孽 提交于 2019-12-05 23:21:36
Okay, here's my setup. I have a c# app working perfectly on all 32-bit Windows XP-Vista-7 machine. I already have a verisign PFX to support the ClickOnce deployment and is using Atalasoft DotTwain 8.0 as the 3rd party scanner helper. When I publish my application, I choose "Any CPU" as the Platform target. When I try to make it run on a Windows 7 64-bit Home Premium, my application crashes after the installation. I tried re-publishing the work on a specific x64 platform but still failed. Any ideas on what i'm doing wrong here? thanks so much~! Choose 'x86' and I'll bet it will work; You most

How do you test if a window (by title) is already open from the command prompt?

China☆狼群 提交于 2019-12-05 18:52:04
In a batch file, I'm opening a window with a specific name like this: @echo off start "my log" /D \logs\ /I powershell -nologo -noexit -command "$host.ui.RawUI.WindowTitle = 'My log'"; get-content logfile.log -wait So the window title is "My log". How do you run this command only if the window is not already open. Is there a bat file command to test for this? I'd rather not use a program or a powershell command, just a simple bat file cmd if possible. Something like this: @echo off if EXISTS window("My log") goto skip start "my log" /D \logs\ /I powershell -nologo -noexit -command "$host.ui

CUDA Visual Studio 2010 Express build error

南笙酒味 提交于 2019-12-05 15:55:36
I am trying to get started with CUDA programming on Windows using Visual Studio 2010 Express on a 64 bit Windows 7. It took me a while setting up the environment, and I just wrote my first program, helloWorld.cu :) Currently I am working with the following program: #include <stdio.h> __global__ void add(int a, int b, int *c){ *c = a + b; } int main(void){ int c; int *dev_c; HANDLE_ERROR( cudaMalloc( (void**)&dev_c, sizeof(int) ) ); add<<<1,1>>>(2, 7, dev_c); HANDLE_ERROR( cudaMemcpy( &c, dev_c, sizeof(int), cudaMemcpyDeviceToHost ) ); printf("2 + 7 = %d\n", c); cudaFree( dev_c ); return 0; }

Cannot add reference to Skype4COM .dll on Windows 7 x64

怎甘沉沦 提交于 2019-12-05 14:43:14
I received the dialog indicating successful registration of Skype4COM.dl using regsvr32. However, when I try to add a reference to Skype4COM 1.0 Type Library from the COM tab into my VS 2008 project, I get "A reference to Skype4COM 1.0 Type Libary' could not be loaded. Did not run into this problem on 32 bit XP. Dependency walker says I am missing GPSVC.DLL and IESHIMS.DLL but these are found in c:\system\windows32 and c:\program files\internet explorer respectively. How do I fix this? TIA. The type library embedded in skype4com.dll is not very clean and generates warnings. Enough to stop the

500 server error using IPython notebook on Windows

ぐ巨炮叔叔 提交于 2019-12-05 13:19:37
I've just done a fresh install of IPython notebook on Windows 7 Professional 64 bit. The steps I took were: Install Python 3.4.1 from http://python.org > pip install ipython[notebook] > pip install pywin numpy pygments nodeenv I can open a notebook fine. However, when I select File > Print Preview or File > Download as HTML I get a 500 server error. The stack trace is: 2014-08-07 09:44:25.431 [NotebookApp] Loaded template full.tpl C:\Python34\lib\site-packages\IPython\nbconvert\filters\markdown.py:78: UserWarning: Node.js 0.9.12 or later wasn't found. Nbconvert will try to use Pandoc instead.

Crashes in ole32!COIDTable::ThreadCleanup … NetworkItemFactory!FDBackgroundThreadHandler

大憨熊 提交于 2019-12-05 12:44:54
Since last week, Word and Excel are often crashing, even on very simple documents. Just now, Firefox also crashed. What can I do to repair it or find the real root cause? I have already repaired Office installation using the Setup. All regular updates should be installed. Laptop is rebooted every day. I have configured WinDbg to attach and this is what I get. I also have a dump, so if you need more information, I can still get it. Here's info from my first dump of Word: 0:020> .exr -1 ExceptionAddress: 11fdf91c ExceptionCode: c0000005 (Access violation) ExceptionFlags: 00000000