If a password is stored with reversable encryption in Active Directory, how does an administrator/developer extract and decrypt this password?
Specifically, I'm referring to this setting.
...
Is there a way in Windows (which works in Windows CE) to check if a printer is attached and communicating to LPT1 in C++?
[Edit] More info:
We are currently working with a generic Windows CE printer driver - pcl.dll - by passing it into CreateDC, to get the DC for the printer.
We can't call PrintDlg() to show the print dialog becaus...
Hi,
Does a good manual exist for the standard C libraries? Like man for Linux or Java API.
Edit
I am working in Visual Studio 2010 Express.
I prefer something like Java API to see all libraries and not like man that show function that I know already exists without giving me the all list of function, and also man not exist in Windows...
The Problem
Our company make specialized devices running Windows XP (Windows XPe, to be precise). One of the unbending legal requirements we face is that we must quickly detect when a fixed IDE drive is removed. Quickly as in within a few seconds.
The drives in question are IDE drives. They are also software-protected from writes with ...
Hello,
I'm trying to enumerate files through the Windos 7 library API, e.g. with SHLoadLibraryFromKnownFolder
I'm using a C++ win32 console application and getting link errors, e.g.,
Error LNK2019: unresolved external symbol __imp__DSA_DestroyCallback@12 referenced in function "void __cdecl DSA_DestroyCallback(struct _DSA *,int (__stdc...
Can someone explain to me why this command reports "The syntax of the command is incorrect."? The first part runs fine by itself, so I know it's not that. And the second part looks to be correct according to help find
C:\Program Files\Apache Software Foundation\Apache2.2\logs>type error.log ^| find /C "2010"
I was wondering if it migh...
I have a Windows Forms application that does not include a title bar, and on Windows 7, the taskbar shows the value from AssemblyTitle, rather than the value from the form's Text property. How can I change this value dynamically?
Thanks!
...
In what order are objects in a .vbs destroyed?
That is, given these globals:
Set x = New Xxx
Set y = New Yyy
I'm interested in answers to any of the following.
For instances of classes implemented in the .VBS, in what order will Class_Terminate be called? Cursory poking suggests in the order (not reverse order!) of creation, but is...
As we know that we can use c functions directly in c++, when is extern "C" necessary then?
...
Hello all.
How can I get the Windows system time with millisecond resolution?
If the above is not possible, then how can I get the operating system start time? I would like to use this value together with timeGetTime() in order to compute a system time with millisecond resolution.
Thank you in advance.
...
I'm trying to open a file in it's default editor after the user has created the file. So far my script is:
@echo off
@echo --- Create A New File ---
@echo -
@echo Where should we put the new file?
set /p fileLocation=@ %UserProfile%\
@echo -
@echo What do you want to call your new file?
set /p fileName=@
@echo -
@echo Almost Done! What...
I am trying to find the API functions that will be called when I remote desktop to a machine.
So, if I am a domain admin and I log on to my server, I can remote desktop to any computer in my domain. However, the target Windows OS must have to support this somehow. Any ideas how this works?
...
i have this code to create a local windows user
public static bool CreateLocalWindowsAccount(string username, string password, string displayName, string description, bool canChangePwd, bool pwdExpires)
{
try
{
PrincipalContext context = new PrincipalContext(ContextType.Machine);
UserPrincipa...
I had .NET 3.5 implementation of OnArrival sink for SMTP server that has been successfully running for years. When I recompiled it to .NET 4 and reinstalled it the SMTP server stopped picking it up. I suspect it has something to do with the default verion of .NET used by SMTP server interop to communicate with the sink (it seems that it ...
I have a very simple application with a form, a richedit and a menu. I'm trying to automatically save the text on the richedit and perform other tasks but only when the application is idle - when the user is not writing or the app loses focus or whatever.
I tried creating an OnIdle event handler from a gazillion sample codes found on th...
Hi, is it possible to somehow tell windows that when I try to access ip a.b.c.d it should access w.x.y.z ? Thanks
...
I'm trying to do some testing and it requires the Windows system to be up and running for 15 Real-Time minutes before a certain action can ever occur. However, this is very time consuming to HAVE to wait the 15 real-time minutes.
Is there a way to change the value GetTickCount() returns so as to make it appear that the system has been r...
The following Java code when run on Windows XP will lock the desktop, however when run on Vista or Windows 7 it doesn't lock the desktop. I'd appreciate it if someone could show me how to get this to work in Vista and Windows 7 using Java only.
import java.awt.AWTException;
import java.awt.Robot;
import java.awt.event.KeyEvent;
public ...
Hello, I'm having trouble embedding a WMV file into a page for a client's site. Well, it plays in every browser except for IE 8 and Chrome. Apparently, the player shows the first frame, the desktop, or just black, but it never plays the movie. Here's the site:
http://centerwest.com/ (click on the link at the bottom right that says "time...
In our installer, the bootstrap app sometimes needs to do stuff that involves leaving files in the temp folder for custom actions in the MSI to pick up. The problem is, when a person remote logs into the OS using Remote Desktop Connection, the bootstrap app and the MSI see the temp folder in different locations. For instance, on Windows ...