windows-7

Decoding Windows 7 Sticky Notes File

浪尽此生 提交于 2020-01-04 04:17:06
问题 I love the windows 7 sticky note app and need to write a quick script to copy my notes to my iphone (easier than bringing a laptop to meetings). How can I extract my notes from the stick notes file (C:\Users\USER\AppData\Roaming\Microsoft\Sticky Notes\StickNotes.snt). The file stores undo entries, or other meta data, for each note, so I can't simply read n bytes from the start of a note. Edit: Sample file - http://www.mediafire.com/download.php?qzgkj5gmdek The encoding is difficult for me to

Windows 7 EXE filename starts with “Patch”, won't run [duplicate]

北城余情 提交于 2020-01-04 03:54:07
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: How to prevent Vista from requiring elevation on patch.exe? One of my programs is called "PatchCompiler.exe". It runs in the console. Or rather, it doesn't run, because Windows 7 treats an EXE file differently if it has "Patch" anywhere in its name, requiring elevated permission ("Do you want to allow the following program from an unknown publisher to make changes to this computer?"). Even if I grant this

Delphi - TEdit Labels are not displaying (Windows 7/Vista only)

半腔热情 提交于 2020-01-04 02:44:34
问题 I we got few TEdit forms inserted on another form, but their labels are not displaying until I change size of the window. This happens just on Windows Vista / Windows 7. Windows XP has everything labeled correctly. Ive already tested repaint / refresh (just TEdit / all form etc.) with no result. Delphi 7. Thank you for your answer bad version Correct version code will be added soon enough :) 回答1: May be it is ALT Key press causes controls to disappear under Themes in Vista and XP bug? 回答2: I

Delphi - TEdit Labels are not displaying (Windows 7/Vista only)

谁说我不能喝 提交于 2020-01-04 02:44:31
问题 I we got few TEdit forms inserted on another form, but their labels are not displaying until I change size of the window. This happens just on Windows Vista / Windows 7. Windows XP has everything labeled correctly. Ive already tested repaint / refresh (just TEdit / all form etc.) with no result. Delphi 7. Thank you for your answer bad version Correct version code will be added soon enough :) 回答1: May be it is ALT Key press causes controls to disappear under Themes in Vista and XP bug? 回答2: I

Discover multiple USB-IrDA devices, open and connect a socket for each

♀尐吖头ヾ 提交于 2020-01-04 02:32:07
问题 For any good sockets programmers out there: Is it possible to enumerate multiple active IrDA devices connected to the PC through USB ports using sockets? If so, how? This is really my main question. The remainder of the post rounds out the details and describes what I have tried. I am developing an application on Windows 7, using Microsoft SDK and an ANSI C compiler. The application design requires it to detect any IrDA devices in range, connect using sockets, and communicate to multiple

XBAP with FireFox and Windows 7

被刻印的时光 ゝ 提交于 2020-01-03 18:53:09
问题 Firefox depends on an extension and plugin installed by the .NET 3.5 installer to run XBAPs. Unfortunately, in Windows 7 the .NET 3.5 runtime is already installed. Does anyone know how to get a hold of these plugins/extensions so you can actually deploy XBAPs to FireFox on Windows 7? 回答1: Turn out, the answer is to copy the DLL of the extension out of another (presumably XP) machine that can run the .NET 3.5 runtime and deploy it. I'm uncertain of the legality of this maneuver, but it works.

How can I embed Perl Interpreter inside a C++ application making DLL?

孤者浪人 提交于 2020-01-03 18:35:11
问题 I need a DLL built in C++ having Perl interpreter inside it and a Perl library exiftool by Phil Harvey being called by C++ functions. I want to do it on Windows 7 with Visual Studio 2010 VC++ installed. Which Perl distribution is best for this task: Strawberry or ActiveState Perl? Also, which Perl compilation command: nmake or dmake? In the end the final deliverable should be a DLL. This can be imported into any program C etc and the DLL functions will be called which will internally be

How to install NumPy on Windows 64?

痞子三分冷 提交于 2020-01-03 18:34:15
问题 NumPy installer can't find python path in the registry. Cannot install Python version 2.5 required, which was not found in the registry. OK I have to modify the registry? I already modified %PATH% to point to the Python25 installation directory. 回答1: Numpy is not supported on python 2.5 for Windows 64 bits, you need at least python 2.6, and even in that case, you need to build it by yourself, or use something like EPD or the installer given in link given by thor. NumPy cannot be used in

Low level keyboard hook

谁说我不能喝 提交于 2020-01-03 16:55:22
问题 I just bought a new keyboard, and I'm interested in tracking exactly how many keypresses/strokes I make during the entire life of the keyboard. (I would want to just record keyUp, as I don't care about repeats) I've been googling around for the best way to do this, but I don't even know what approach to take, so I'm having trouble searching intelligently. Also, the only language I've really worked with is C#. Haven't done anything with C/C++ or WinAPI Is it difficult to modify the Win 7

Getting Rspec + autotest working on windows

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-03 13:59:15
问题 I have installed growl + rspec + autotest on my windows 7 machine. From the command prompt, when I type 'rspec spec/' it doesn't work. The tests will only run if I use 'rake spec/' + 'autotest'. Also, I am running these tests: http://railstutorial.org/chapters/static-pages#code:default_pages_controller_spec (i.e. very, very trivial) and they are taking 8.11 seconds. They also fail when I run them - even though they don't in the example. I have done everything the tutorial told me, the problem