I have tried the following: Setting HKLM\Software\Classes\AppID{AppID}\ROTFlags to 0x1 (as recommended here), and also tried registering the object in the ROT with the ROTFLAGS_ALLOWANYCLIENT flag set. However, I always get a 0x800401e3 (Operation unavailable) error whenever I try to access the ROT object from within IE's protected mode....
I want to have SlickEdit control another window.
I have an idea of how this could be done using some window’s apis but I am not sure how to implement this in SlickEdit. I am assuming Slick-C (SlickEdit's macro language) would be used. I have done some limited coding in Slick-C but I am not sure if window apis can be run.
Here is what ...
Hi,
I used to see that a program could embed a calendar right into the desktop, and the calendar is interactive, all 'show desktop' operations including will not hide it.
I wonder how I can achieve that? Thank you.
...
Just for fun I'm developing a native Win32 port of Mozilla XUL. XUL allows to create complex nested structures of all kinds of layout boxes (hbox, vbox, grid, deck..). For my Windows implemenation it would be convenient to implement them as STATIC child windows. Because then I can position their child windows using x & y offsets independ...
Hello, Under Windows XP, is it possible to execute a 3rd party application, so its main window will be a child/popup window of my VC++ MFC application?
I want to control it's Z-Order like any other window in my app
I don't want it be be visible in the taskbar
I want to catch its WM_CLOSE and handle it in my app
In general, I want my ...
Is there any Win32 API to check if a given handle belongs to the current process?
...
The question is as simple as in the title, how do I access windows file properties like date-modifed, and more specifically tags, with Python? For a program I'm doing, I need to get lists of all the tags on various files in a particular folder, and I'm not sure on how to do this. I have the win32 module, but I don't see what I need.
Tha...
Is it possible to use sockets on win32 and and not have the firewall possibly block the port you are using? Something like with unix wwere you have IF_UNIX instead of IF_INET ( named pipes instead of sockets ). I dont want to use named pipes on win32 since they are just so unreliable.
...
Hi!
I wrote a program, that should work like RunAs. It works fine, but i have one problem with it. If i want to run for example compmgmt.msc, then i should run mmc.exe and compmgmt.msc as it's parameter. Computer Management will open, but not under the user as i want to run it. It will run under that username who is logged in. Can someo...
To test this problem I have written a minimal windows application. If I force an access violation in the WM_PAINT handler this exception never gets to the debugger. If started without debugger the access violation also does not show up. Usually you should get the Windows Error Reporting dialog.
Digging a bit deeper it seems that somethi...
Hi all
I have a application (win32 exe file) without source code.
Is it possible I write C# application and reuse some function in that win32 .exe file?
Thanks for your reading.
Best regards!
...
I am using a IWebBrowser2 control in my application and writing my own container (in C++ - No ATL/MFC allowed). The control works fine. However web sites will not show if I am going from secure to non secure. It trails back to the setting in advanced options of IE (WarnonZoneCrossing) : Warn if changing between secure and not secure. ...
I'm new to programming with the Win32 API, and I'm still getting used to the prefix / suffix data type naming conventions. While Google and a little common sense will normally explain what the prefix is referring to, it would be nice if there was one (relatively) concise guide to explain them. Does anyone know of a resource like this?
...
How can I tell Windows not to do unhelpful pre-processing on tablet pen events?
I am programming in Python 2.6, targetting tablet PCs running Windows 7 (though I would like my program to work with little modification on XP with a SMART interactive whiteboard, and for mouse users on Linux/Mac). I've written a program which hooks into the...
We need to distribute documents to our partners on a USB key. I've been asked to develop a piece of software that will check if some documents have been updated on the server and proceed with the synchronization of files on the memory stick.
The software itself will also need to have an auto-update functionality in case we want to impr...
Hi,
I'm a Windows (native, not .NET) programmer and I'd like to port an application to the Mac.
Actually, I believe it will be more of a rewrite, as the original depends on many activex controls.
As I have never used a Mac in my entire life, I'll need some guidance. O:-)
a) What book(s) would you recommend to make the move from Wi...
Hello:
I have some code which acts as a network provider and can intercept both traditional logins and smartcard logins via the NPLogonNotify callback. This is running on XP (32 bit).
I am porting to Windows 7 (64 bit). NPLogonNotify is still supported according to MSDN and indeed my code captures traditional logins successfully. The i...
Hi
I'm writing a small application that's supposed to count the number of colour and grayscale jobs going to local printers.
It's meant to cross reference with what the printer records. If there is any non-grayscale elements on the job, the printer records a colour job.
At the moment I'm using the EnumJobs call but I can't get any col...
I am trying to convert a C++ struct to C but keep getting "undeclared identifier"? Does C++ have a different syntax for referring to structs?
struct KEY_STATE
{
bool kSHIFT; //if the shift key is pressed
bool kCAPSLOCK; //if the caps lock key is pressed down
bool kCTRL; //if the control key is pressed down
bool kALT;...
When an ActiveXObject is hosted in a Windows Desktop/Sidebar Gadget, that ActiveXObject is sort of cached and the DLL file for it is locked (meaning it cannot be moved, deleted or renamed). The problem is this; when the gadget is subsequently closed, the DLL is still locked by Windows Sidebar and it cannot be removed. This causes a sig...