|
|
|
memory mapped i/o: modify read-only pages
Wed, 14 Nov 2007 07:34:59 -0800
Hi,
i'm the author of an open source database engine (hamsterdb.com), and
i just discovered a bug in my windows I/O routines which somehow i'm
not able to solve.
What i want to do: i want to use mmap to read pages from the file,
then modify the buffered page in memory, and then use WriteFile to
write them. ...
|
"Beeep" doesn't sound through soundcard ...
Thu, 11 Oct 2007 11:44:42 -0700
XP Pro SP2
I'm using the base "Beep(freq, duration)" system call, and on my
machine at home the sound comes through the soundcard.
I just tried it on another machine and it's coming from the PC's
internal speaker, which is not at all what I want.
The hardware platforms are quite different (although they ...
|
Re: Question about ::CreateProcess( ) API
Wed, 10 Oct 2007 05:05:28 -0500
I am also facing problem with xcopy that exists in a batch file and this
batch file is tried to execute with CreateProcess win API. I have echo
command also there in batch file which executes without any issue..
Similarly find also doesnt work.. I am new to windows programming
environment.. Is it anything to ...
|
Delta Compression API or alternatives
Tue, 2 Oct 2007 18:12:31 +0300
Hi,
I need update in my application and I wanted to use Delta Compression API
but it does not seem reliable (on a large files but with small changes it
seems to produce patch file as large as the files).
Do you have any information why this happens ? Also, if its really bogus, do
you know other alternati ...
|
Intercept Print Jobs in WinXP
Sat, 15 Sep 2007 20:23:47 -0300
Hi, I'm trying to implement a routine to intercept "print jobs" using
windowsXP.
My goal is to retreive the "user requested print settings" (B/W, number of
pages, number of copies, etc) and send it to a bussiness object that will
send back true/false to my routine. Using this return value I should allow
o ...
|
Longhorn Platform SDK build 6001 - MFC dll references: Microsoft.VC90.DebugMFC
Wed, 5 Sep 2007 15:27:16 -0400
I have installed the new Longhorn Platform SDK 6001. Since that time I can't run anything that I've built!
Well, to be more precise, any project that uses MFC in a shared DLL.
I can see the problem in the manifest (below):
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-mi ...
|
KTM (files and registry) on Windows 2003 ?
Thu, 30 Aug 2007 17:04:46 +0200
Hi,
I'm sure I already know the question, but I hope I'm wrong...
Is there any way to use Kernel Transaction Manager on Windows 2003 systems ?
I need especially to be able to cancel file operations and registry
operations within a distributed trnasaction...
I imagine the answer is : "No, because it's ...
|
|
|
how to avoid flick when set WS_EX_LAYERED
Wed, 29 Aug 2007 10:43:44 +0800
Hi,
I set the API SetWindowLongPtr to set the style for windows in hook:
SetWindowLongPtr(hwnd,
GWL_EXSTYLE,
GetWindowLongPtr(hwnd, GWL_EXSTYLE) | WS_EX_LAYERED);
SetWindowPos(hwnd, NULL, 0, 0, 0, 0,
...
|
VSS writer failure on Vista
Wed, 22 Aug 2007 10:34:33 +0100
I have a fairly simple VSS writer based on the sample that was in the VSS
SDK and is now part of the Win SDK.
This writer works fine on XP and Win2K3. It also works on Vista, but only
once.
The writer successfully registers and deregisters after performing its task.
On XP and Win2K3 it will perform this ...
|
How to program PCHealth objects?
Mon, 20 Aug 2007 15:56:00 -0400
i've stolen the code from ra.microsoft.com, where Microsoft uses local
ActiveX+javascript to program remote assistance to connect back to
Microsoft, so they can assist you.
If you put the following in an HTML file and open it, it loads:
<HTML>
<HEAD>
<OBJECT ID=PCHealth CLASSID="clsid:FC7D9E02-3F9E-11d3- ...
|
|
|