The Windows APIs don't seem to me to be as straight forward as you might expect. To me, they are somewhat convoluted fashion?
Is this is an effect of keeping backwards compatibility?
Is Microsoft's main goal to push developers to higher level abstractions like ATL/MFC, VB, and/or .net?
It's my first time using the Win32 API and calls...
So, I have a large C project that was built entirely on Unix (SPARC Solaris). me and several others have begun to revisit it because their was some interest in a windows build.
none of us have done this with a project of such size, so for starters, has anyone ported something from unix to windows and could maybe give me some pointers or...
I have a program which is calling another program and processing the child's output, ie:
my $pid = open($handle, "$commandPath $options |");
Now I've tried a couple different ways to read from the handle without blocking with little or no success.
I found related questions:
perl-win32-how-to-do-a-non-blocking-read-of-a-filehandle-f...
A Finnish customer tells me that the correct (locale aware) sorting for Finnish is: a-z, å, ä, ö.
But QString::localeAwareCompare() returns it as: a, ä, å, b-o, ö, p-z in Qt 4.4.2 on Windows Vista.
#include <qapplication.h>
#include <qlocale.h>
#include <iostream>
#include <tchar.h>
int
main( int argc, char* argv[] )
{
QLocale::se...
how can i write a program which starts before logging on to windows?!
...
I looking for a solution for quite while but all solutions I found are very slow.
I want to get all users in local windows group. This group can of course also contain AD groups. So the result should contain all users that are members of the group itself and the users of the AD groups that are contained.
Do you know a solution for this w...
What libraries for C do I need to play a wav file on a Win32 system?
And what is the code to use those libraries?
...
I am storing a list of links to resources such as documents to be opened by Windows applications as well as web pages in a database and need to know how to open them in Windows.
For some webpages it will be achieved by passing parameters to a web browser process or executing the document and letting Windows decide what is the best appli...
Hello. I am adding a feature to my current project that will allow network admins to install the software to the network. I need to code a DNS server in Python that will allow me to redirect to a certain page if the request address is in my list. I was able to write the server, just not sure how to redirect.
Thank you. I am using Python...
Having a weird issue. I'm new to Macs and have a windows VM that I'm running on a new macbook pro via VM Fusion. I setup a file share on the windows side (Win 7) and accessed it from the Mac side using the "Connect to Server" dialog. I did it successfully several times, even adding in a symlink on the mac side and starting a git repos...
Have created a ATL COM project through which I am inserting Menu Items to The rightclick menu like this:
STDMETHODIMP CSimpleShlExt::QueryContextMenu (
HMENU hmenu, UINT uMenuIndex, UINT uidFirstCmd,
UINT uidLastCmd, UINT uFlags )
{
gHMenu=hmenu;
UINT uCmdID = uidFirstCmd;
// If t...
I am looking for a best way to trigger windows application automation from Java application. So far I have been using Groovy and Scriptom library to access COM native interface. It is rather straight forward approach, but does not scale well (writing configuration for each of application, reading brilliant COM documentations, testing, te...
Could someone provide me an example of utilizing SECURITY_DESCRIPTOR in InitializeObjectAttributes()? I plan to use them with NtCreateKey(). I couldn't find any example on the Internet.
Thanks in advance.
...
Is it possible to access DCOM Config via COMAdmin.COMAdminCatalog?
I can get a collection of applications and configure them but cannot figure out how to get a collection of the items in the DCOM Config folder in Component Services.
Any suggestions?
...
hii all,
i would like to install apxs for apache 2.2.1 ,how do i do that??
...
Hi,
In Windows Explorer, you right click on a file, a context menu shows up which contains built-in items like 'Send to...' and/or 3rd party actions such as 'zip file with Winzip'. My question are:
How to obtain the full list of available menu items for a specific file?
For each menu item, how to get the caption?
How to invoke a speci...
While compiling
#include "windows.h"
#include "stdafx.h"
#include "resource.h"
#include "ProgressDlg.h"
....
...
rItem.lParam = (LPARAM)(DWORD_PTR) m_lsStatusMessages.back().c_str();
I am getting the error C2065: 'DWORD_PTR' : undeclared identifier
Am I missing any Includes.
...
Has anyone had any luck with compiling 64-bit Python extension modules for Windows using mingw64?
I have successfully compiled the extension in question with VS2008 for this platform. I've also compiled it with mingw32 (with a 32-bit python). I would prefer both builds to use GCC.
I've installed the mingw64-x86_64-w64 GCC 4.5.1 set of...
WCF supports some interoperability bindings. Does any of these bindings allow to communicate with kernel mode sw?
AFAIK kernel mode sw can open named pipes, in the Local System security context. Are those named pipes interoperable with WCF?
...
I'm testing IE7, IE8, Safari, Chrome and Firefox.
It would be pretty less boring if you guys told me that I don't need to test for XP, Vista and 7, since there's no difference.
Thanks
...