Hello all,
I would like to embed the great Bottle web framework into a small application (1st target is Windows OS). This app starts the bottle webserver thanks to the subprocess module.
import subprocess
p = subprocess.Popen('python websrv.py')
The bottle app is quite simple
@route("/")
def index():
return template('index')
ru...
Hi all,
I am working on windows port of xbmc. I am trying to integrate chromium browser into xbmc using chromiumembedded framework. Xbmc has its own rendering framework and ideal solution would be to get rgb data from cromium window and render it using xbmc functions. That would allow us to create webbrowser gui conrol.
Chromiumembedde...
I have installed the latest version of Gnope onto my PC
See: http://www.gnope.org/download.php (Release 1.5.1)
Gnope installs its own copy of PHP ( 5.1.4 CLI version).
However, PHP version 5.1 is sooo old. I'd like to use a later version with gnope.
I'm considering dropping a later version of PHP into that folder - but I am not sur...
I have a barcode scanner and laptop (ofcourse :)), I'm looking for simple event management app that can process the input from the barcode scanner and keep attendance record for our frequent private meetings.
I wonder if there's an open source software available that'd allow me to manage events using code 128 barcode id cards?
Many th...
On a couple of windows XP systems I've looked at, the "System Idle Process" always has PID 0, and the "System" process always has PID 4. In a Windows program which enumerates processes, is it safe to recognise these processes by these PIDs, or can they be different in some circumstances?
...
When using GetModuleFileNameEx to query the image path of a running process, some processes have an image path that starts with "\??\". For example, while most processes start "C:\WINDOWS", some processes start "\??\C:\WINDOWS".
What does the leading \??\ mean on a windows path?
...
how to store a value returned from a sql query in a variable in batch programming ?
i can invoke sqlserver queries from my cmd prompt using sqlcmd server name then the qwery
this is query statement i m going to use
SELECT
CASE
WHEN DATEDIFF(minute, record_timestamp, GETDATE()) < 10 THEN 1
ELSE 0
...
Hi,
I have the following problem. I need to create a zip file under linux with a password provided by another party that is encoded with CP-1252. What I have tried is changing the encoding of this password to UTF-8. Then I made a zipfile protected with this utf-8 encoded password. However the file can not be unzipped in windows with the...
I am running windows server with asp.net websites and sql server 2008 and IIS 6. It is working fine.
Now I need to move my asp.net websites to another windows server and I have hard time setting correct file security for the new server.
Is there any way to compare or move or see difference file security between two servers?
...
I have file which is opend with write protection for some process. Is there a simple way to check which process set write protection on that file in Windows Xp ?
Any tool ?
...
I have to be stupid. Searched for hours in the internet to find a solution. I couldn't find one.
How do I set the icon for my start menu shortcut, when I deploy and install my application with ClickOnce?
...
I have implemented a Splash Screen according to WiredPrairie unmanaged c++ splasher class.
But not when my application loads, my window isn't activated. The user has to click on the login box even thought it is the only window open in my application.
I have tried the following but none of these work.
Topmost = true;
...
It doesn't look like git-p4 is part of the MSys-Git project for Windows. Does anybody know how to get it running through Windows?
...
I wrote a windows program many years ago, which created music by sending notes to the "midi mapper" (and thence to the midi-synth on my sound-card)
Today, I have a soft-synth which, allegedly accepts midi information, so I'd assume it should be possible to use today's equivalent of a midi-mapper to route the midi output from my program ...
OS: Windows Mobile 6.5
Language: C#
This seems like it would be easy but i can't find a way to retrieve the text from the selected row on a DataGrid. The grid is single row selected only - no multiple row selection is allowed.
...
I'm trying to implement a protocol over serial port on a windows(xp) machine.
The problem is that message synchronization in the protocol is done via a gap in the messages, i.e., x millisecond gap between sent bytes signifies a new message.
Now, I don't know if it is even possible to accurately detect this gap.
I'm using win32/serport.h...
I really do not understand why this simple code works fine in the first attempt but when
putting it in a procedure an error shows:
NTVDM CPU has encountered an illegal instruction
CS:db22 IP:4de4 OP:f0 ff ff ff ff
The first code segment works just fine:
.model small
.stack 100h
.code
start:
mov ax,@data
mov ds,ax
mov es,ax
...
I'm struggling to get this to work. Plenty of examples on the web, but they all do something just slightly different to what I'm aiming to do, and every time I think I can solve it, I get hit by an error that means nothing to me.
After giving up on the JSLint.VS plugin, I'm attempting to create a batch file that I can call from a Visua...
I need to access some files with fstream in my C++ app on Windows. Those files are all located in subfolders of the folder where my exe file is located.
What is the easiest and more important: safest way to get the path to the folder of the current executable?
...
In Windows Mobile 5 one of the following methods works to set an input to numbers only:
// Managed
InputModeEditor.SetInputMode(textBox, InputMode.Numeric);
// Native Wrapper
InputModeSupport.SHSetImeMode(textBox.Handle, InputModeSupport.SHIME_MODE.SHIME_MODE_NUMBERS);
In Windows Mobile 6, neither works.
How do you set the IME to "N...