Hi all,
My question is
I have 3 directories and 5 files in C:\test
I want cut and paste all the files and directories under C:\test to C:\demo through command line in windows. Plz help me in this
Thx in advance
...
I've created an MMC snap in that launches code in a new appdomain and part of the code checks for a registry key. If I check for the key in the snap in process it works, but the code in the new appdomain throws a security exception. If I load the code in a new appdomain from a console or windows app, it works fine.
Here is the code:
p...
Trying to wrap this short example in C++. (and its been a while since I did this).
int main(int argc, char* argv[])
{
//Objects
CFtpConnection* pConnect = NULL; //A pointer to a CFtpConnection object
ftpClient UploadExe; //ftpClient object
pConnect = UploadExe.Connect();
UploadExe.GetFiles(pConnect);
...
Pardon my frustration. I've asked about this in many places and I seriously don't think that there wouldn't be a way in Windows 7 SDK to accomplish this.
All I want, is to capture part of a 'child window' ( setParent() ) created by a parent. I used to do this with bitblt() but the catch is that the child window can be any type of applic...
My normal development platform for PHP is Linux. I use a Red hat server for my website, my company uses red hat and Fedora for production, and I have Ubuntu at home. I couldn't be happier. Unfortunately, I'm now required to spend a good deal of time working in PHP in Windows using WAMP.
I say this is unfortunate because I am continua...
Hello,
we have a windows service running and we also have a console application that we use to configure this service, we also have an option to see some log being recorded.
The very ugly thing with this is that this communication is made by a text file, the console app writes to a text file and the service reads it and vice versa.
Wha...
In my Windows application, while registering for 'Raw Input Devices', I wish to register only mouse but the trackpad which is also a pointing device also gets registered.
In MSDN Documentation, Top Level Collection (TLC), says usage of, usUsagePage, usUsage fields of RAWINPUTDEVICE. But there is no information how to exclude one of the...
I'm running this to test FormatMessage:
LPVOID lpMsgBuf;
errCode=12163;
FormatMessage(
FORMAT_MESSAGE_ALLOCATE_BUFFER |
FORMAT_MESSAGE_FROM_SYSTEM ,
0,
errCode,
0,
(LPTSTR) &lpMsgBuf,
0, NULL );
However, when it returns lpMsgBuf contains NULL... I was expecting something like ERROR_INTERNET_DISCONNECTED....
I know that dynamic link library are loaded in memory when an application loaded, the reference is resolved by operation system loader. For example, in windows kernel32.dll, user32.dll and gdi32 dll, so if my application reference a function in a kernel32.dll, for example CreateWindow, is that the whole dll must be loaded in the process,...
I'm writing a simple audio player based on WMP ActiveX control, for MP3 and WMA, I found WMP can get the cover and album correctly, but the WMP ActiveX control can't do that, it means the ActiveX control always get the information from the local, not from WindowsMedia.com, if you play the file with WMP, then ActiveX control can get these...
I have an artsy opengl app that I am working on. The final product will have no need to display text. But during developement I want to display odd bits of data for diagnostic purposes, like framerate, object count. I would like the rendering of the text not to dramatically decrease the performance of the code.
I realize this is a mi...
Does anyone know how to test? I'm on Windows XP? and Firefox , IE7 installed
...
Hello,
I was just wondering if it is possible to replace Loader (executable program loader not the boot loader) of an Operating System (Windows is my choice). Are there any third party loaders available that would patch the default one.
Is there any way through which I can obtain the control over the OS Loader? I mean, I want things it...
I'm writing a simple audio playback application, to save the codec fee, so we are using WMP ActiveX to play all music files, but it needs to create a window for ActiveX, and the thread of creating the ActiveX should have message loop. I would like to know if there is a way for WMP without ActiveX and Window? Thanks in advance.
...
In Win32 in order to paste data into the clipboard I have to call GlobalAlloc(), then GlobalLock() to obtain a pointer, then copy data, then call GlobalUnlock() and SetClipboardData().
If the code is in C++ an exception might be thrown between calls to GlobalLock() and GlobalUnlock() and if I don't take care of this GlobalUnlock() will ...
Hello,
I am between those two SDKs for windows
http://www.dragonfiresdk.com/index.htm
http://www.airplaysdk.com/
Has anyone used them before? Which one to buy?
...
If I have the path to a file, is there a way I can get the icon that windows would have displayed for that file in Windows Explorer?
...
Hi,
I have developed an embedded application which requests status information from a device down a communications channel. My customer requires that these will be sent with a specific time period, so what I am looking for is a PC terminal application which can send a text string command repeatedly at a set interval over a period of ti...
I want to create an application that can give me a description of all the softwares and hardware installed on a computer that is connected through a Local Network.
In Hardware Description - I want something like the list shown in Device manager and in software description i want a list of all the softwares installed in remote pc as show...
I have a problem with a piece of legacy c++/winsock code that is part of a multi-threaded socket server. The application creates a thread that handles connections from clients, of which there are typically a couple of hundred connected at any one time. It typically runs without a problem for several days (continuously), and then suddenly...