I want to create a context menu that support multiple files.
I read through SO and understand that either you must use DDE or shell extension (something to do with creating and registering COM object). However all the sourcecodes I found are in C#.
I then decided to go with COM object. I found 1 in C++ that uses COM but it's dated 2006...
here's a live example http://bit.ly/9JgNmN
tested in IE7, firefox, safari, chrome
in windows 7 seems to be centered but in osX the banner is off!
any ideas?
p.s.here is the original of the example that i have modified:
css-tricks.com/examples/InfoGrid/
Thank you
Will
...
Hello,
I have a VB6 COM DLL. I want to use it from C++. I know how to register it, generate a tlb file from the DLL, and #import it in C++.
I'd like however, to load and use DLLs like this dynamically, at runtime, without knowing them in advance. Is this possible?
Thanks,
...
In user mode IOCTL calls can be made via DeviceIoControl function.
What can I use in kernel mode to issue IOCTL calls? I must use this inside a filesystem minifilter driver.
BACKGROUND
I am writing a filesystem minifilter driver, and I must issue IOCTL calls to storage devices to find out their serial number and capabilities (removable ...
Does anyone know a way to get the amount of space available on a Windows (Samba) share via Python 2.6 with its standard library? (also running on Windows)
e.g.
>>> os.free_space("\\myshare\folder") # return free disk space, in bytes
1234567890
...
In a Windows operating system with 2 physical x86/amd64 processors (P0 + P1), running 2 processes (A + B), each with two threads (T0 + T1), is it possible (or even common) to see the following:
P0:A:T0 running at the same time as P1:B:T0
then, after 1 (or is that 2?) context switch(es?)
P0:B:T1 running at the same time as P1:A:T1
In ...
Hey,
Is it possible to shutdown Windows programmatically with Java?
Cheers
...
hi i am setting a string in a variable
set main=svn commit -m "Build version number update" install\msbuild\VersionNumber.txt
and passing "%main%" as a command line argument to another script template.bat .
but in template.bat "Build version number update" is cosidered a 2nd arg and rest as 3rd
one.
please tell me how to pass the ...
NETBEANS
This is an IDE question.
I am used to work with a code window as big as it can be.
So I use 2 monitors and I have:
In the 1st monitor:
The Project/Files/Services Window together with the Navigator/Inspector Window
The Code Window (Editor) using the most space of the monitor.
In the 2nd monitor:
The Palette/Properties Wi...
Our native Win32 C++ RPC server application doesn't use RpcEpRegister(), instead it calls
RpcServerUseProtseqEp(), then
RpcServerRegisterIf(), then
RpcServerListen()
and that stuff works except for minor problems we still can't solve. I've thoroughly read MSDN and still don't get whether using this function is necessary.
What exactl...
is there any documentation which messages are processed by DefWindowProc, and how?
I recently stumbled over WM_SETFONT/WM_GETFONT not being handled, I'm not sure if there's a mistake in my code, or if that's expected behavior, so I tried the following WinMain:
WNDCLASSEX wcx =
{
sizeof(WNDCLASSEX),
CS_HREDRAW | CS_V...
We need to notify other systems when certain events happen, for example when we receive a file or when some database state changes.
We currently do that using Windows Services that poll for whatever is necessary, then call web services to notify our integration partners. I think Thomas Erl calls this "SOA agents".
It seems to me that ...
I'm working on application using the math computation. For my code I need to know how to cover all paths of code of libraries I'm using. The one of not covered yet is in k_rem_pio2 file. The kernel function have branch for ih==2 numbers and then ther is an
if(carry!=0) -z= scalbn(one,q0);
my question is for what number the i...
Hello.
My friend's server has some problem with spoolsv service. While he is searching for a problem source, we need to make periodic service checks and restart service if it stops responding. I suppose the source of a problem is faulty printer drivers, but that needs investigation.
The question is how to check if this service is ok wi...
Hi guys,
I want to do some experiment on SQL Server cluster to gain some experience on it, where should I start? I just have some basic concept of cluster and don't have any experience. Anyone can tell me some material that I can reference to? Great thanks.
...
What is the "correct" way for a 32-bit application to find the "Program Files" folder on 64-bit Windows? For example, I am running a 32-bit application with a VBScript engine, and want to launch 64-bit Excel (using ShellExec, or similar). In the 32-bit world, I would check the environment variable "ProgramFiles" to get the base folder....
I've developed some Java applications and wrapped them in exe files, some of them require JDIC files, the apps run on Windows systems, since my PC is all setup for development, it has all the necessary parts, but if a user downloads and runs my apps, they may not work as I thought. So I wonder if there is any place online that I can uplo...
hy
I'm trying to port a KDE application to windows
my problem is finding a suitable KDE SDK for windows, i can't include any k-headers (kapplication.h kaction.h ....) and I haven't even got to the libs
is there a guide for doing things like this
...
I read on many other topics that the Android emulator starts really slow. Indeed, it takes +15 mins to start. However, on my machine is slow even after that.
The 'phone' responds with a 3-4 seconds delay and everything has a huge lag.
Is there any way to improve the performance of my laptop (Asus 1201N) is too rusty for the Android emu...
I am creating a brush using CreatePatternBrush with a bitmap created with CreateBitmap.
The bitmap is 1 pixel wide and 24 pixels tall, I have the RGB value for each pixel, so I create an array of rgbquads and pass that to CreateBitmap.
This works fine when the screen color depth is 32bpp, since the bitmap I create is also 32bpp.
When ...