When asynchronous I/O (or "overlapped" I/O in Win32 jargon) is used, we need to deal with the OVERLAPPED structure and his hEvent member. If the I/O function will delay the read or write operation, we will get an ERROR_IO_PENDING error code, then we will wait the asynchronous operation to complete with a WaitForXxxEvent function, then we...
I have a domain controller installed on virtual Windows Server 2008 x64.
SQL Server 2008 Express x64 is running on Windows Server 2008 x64 and client on Windows 7 RTM x86. Both have joined the domain.
I'm starting both Visual Studio 2008 and SQL Server Management Studio 2008 under domain admin user. This account is a member of group sy...
Okay guys, I'm new to this model and Silverlight in general. I have the following code (changed object names, so syntax/spelling errors ignore).
public class ViewModel
{
ViewModelSource m_vSource;
public ViewModel(IViewModelSource source)
{
m_vSource= source;
m_vSource.ItemArrived += new Action<Item>(m_vSou...
Here's the thing:
Due to a new project, I have to learn PHP from scratch. I'm now in windows and I DON'T want to change quickly, so, don't tell me to change.
I need to setup a DreamWeaverCS4/PHP5 develop environment, and, I don't have a clue whether to use Apache or IIS7.
I just need some advice relating to it.
Remarks:
I really don'...
How to disable ctrl+alt+del using c in window OS. I have use
SystemParametersInfo(SPI_SETSCREENSAVERRUNNING, true, &bOldState, 0);
but it doesn't working for me, kindly guide me, so that i can make it possible.
...
I am using CreateProcess function for creating the process, is there any option to get the current state of the process (running or not). Kindly guide me how can I make it possible.
...
Is it possible to disable all the I/O ports of the Windows PC my program is running on? If so, can that be done using C?
The goal is that the user should not be able to interact with the PC through any path except for the network card while my program is running.
...
How do I turn on/off the WS_CLIPCHILDREN window style in a Windows Forms parent control?
I would like to display some text on top of the child control after it has painted. In my parent control, this is what I have:
class Parent : public Control {
void Parent::OnPaint(PaintEventArgs ^e){
Control::OnPaint(e);
// par...
Windows resources have a FileVersion and a ProductVersion.
In native development environment(eg. Win32 app, device driver)
How do you manage the ProductVerion automatically?
My language is c/c++. And I use Visual Studio 2008.
I want to increase the version automatically when I build my projects.
Is it possible?
I guess there is a sim...
I want to modify the registry of window OS using c. kindly guide me or give me some hints so that I can make it possible.
...
Hello,
I went through the archives here and the Wikipedia page on Project management software, but didn't find information on this type of application to manage projects:
Windows, natively-compiled (no Java, preferably Windows instead of cross-platform) desktop based (don't like to use a browser for this)
can scale from one to a few p...
Hi,
I need a script that inserts a number at some point into a file path, like this:
from C:\WINDOWS\system32\ansi.sys
to C:\WINDOWS\system32\5.ansi.sys
I made a function using a label and it seems to work fine, until I invoke it from within a FOR loop.
This is the code I wrote:
@ECHO OFF
SET PATHTOPROCESS="C:\WINDOWS\system32\ansi...
I am looking for a C/C++ code which can get icon for a given filetype (eg. .doc, .pdf) on Windows. I need to make an application which will display a list of files and I need to have the file icons corresponding to those files.
I have seen C# code for the same but I have never worked with C# and don't think that I can use the same code ...
How to find version of WIC Windows Imaging Component. Is it shipped with OS like XP, Vista, etc. I am using WPF application having TIFF image, which is having some issues ie the image is showing black with certain height; someone on the forum suggested that it might be the issue with WIC version 1. Can anybody please tell me how to fi...
Hi,
I just want to find out how to run two WPF windows (one in extended desktop) while in Full screen mode.
...
Can someone advice which is the recommended version of Java Runtime Environment for Windows 7, since older version may have some incompatibilities etc?
Thanks in Advance
...
How do we specify the placement position of a window using MFC in Win CE? It does not support the WINDOWPLACEMENT class that is available in Windows.
...
I was toying with an IRC client, integrating it with the windows 7 app bar.
To get a "Frequent" or "Recent" items list one has to call SHAddToRecentDocs API.
I want to add recent IRC channels visited to the Windows 7 Jumplist for the IRC application.
Now, my problem is, IRC channels don't exist in the file system. And SHAddToRecentDocs ...
I know I'm being lazy here and I should trawl the header files for myself, but what are the actual types for LPARAM and WPARAM parameters? Are they pointers, or four byte ints? I'm doing some C# interop code and want to be sure I get it working on x64 systems.
...
Hi,
I'm getting the following error message when I try using WPP tracing in my user mode application.
3>hooktest.obj : error LNK2019: unresolved external symbol _WppCleanupUm referenced in function _main
3>hooktest.obj : error LNK2019: unresolved external symbol _WppInitUm referenced in function _main
3>hooktest.obj : error LNK2001: un...