Hi All,
I want to assign the alpha numeric value to one variable in Batch scripting.
I tried following one but getting error.
setlocal
set test = \765514e2aad02ca658cc56cdb7884947 *E:\\test1
echo %test%
endlocal
Error:
C:\Users\bgannu>setlocal
C:\Users\bgannu>set test = \765514e2aad02ca658cc56cdb7884947 *E:\\test1
C:\Users\bgannu>...
Hi, guys,
My system is Windows XP.
Virtual Size displayed in TaskManager is different with MEMORYSTATUSEX.ullAvailVirtual got from GlobalMemoryStatusEx.
When I create lot of buffers and the memory usage is up, MEMORYSTATUSEX.ullAvailVirtual can well reflected the virtual size usage. It's same.
But when I delete the memory, Virtual Siz...
I've seen a strange value placed in EXE header
00000000 :4D 5A 90 00 03 00 00 00 - 04 00 00 00 FF FF 00 00
00000010 :B8 00 00 00 00 00 00 00 - 40 00 00 00 00 00 00 00
00000020 :00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000030 :00 00 00 00 00 00 00 00 - 00 00 00 00 A8 00 00 00
00000030 :00 00 00 00 00 00 00 00 - 00 00 00 00 A...
Recently, my boss asked me to improve the launch speed of our application, the AP was written with C++.
The AP is a little big, it used 200+ dll, Windows needs long time to enter the main() function. I tried these two ways, but still can't make our boss happy.
1. delay load dll http://msdn.microsoft.com/en-us/library/yx9zd12s(VS.80).aspx...
Hi,
Is there any Windows Native API to send SMTP based message using C++
...
Hi,
I'm implementing a custom combobox to behave like a searchbox.
It is constructed from an Edit control, a Button and a Listbox.
I'm trying to open the listbox on mouse click on the button, it seemed to be simple but become complicated.
First I tried to manage the mouse click on the "BN_CLICKED", but then I discovered it's too late a...
Hi All,
I am planning to buil a website in silverlight and deploy it on IIS 6.0. I am not sure
whether the application could be browsed in Windows CE 5.0 browser. If it is nto possible
to view silverlight application than is it possible to view asp.net 3.5 application in
Windows CE 5.0.
...
As a long-time lurker on SO, I'm popping my question cherry with a tricky one regarding CruiseControl.NET, Subversion, and a remote repository. Here's the problem:
Take a remote Subversion 1.6.6 repository running on Windows Server 2008 SP2, using Apache 2.2.14 as the gateway to enable access on Port 80 and 443 - we redirect unencrypted...
I have a piece of hardware that we created that connects to my PC via USB. We also wrote the drivers for it. EVERY time I plug this device in, the new device message comes up, even though the drivers are installed. I can cancel the dialog and it works fine, but it looks like crap and I'll be selling this product and want it to functi...
In a Windows Server 2003 R2 environment, using Powershell v2.0, how would one duplicate the functionality of Set-QADUser to update user properties in Active Directory, like their phone number and title?
The trick here being, I would like to do this without depending on Set-QADUser and I do not have the option to use the Server 2008's co...
Hello all, I'm experiencing a weird problem with a little app I wrote to detect Windows shutdown.
Using Remote Desktop to connect to a Windows 2003 server, sometimes upon login I get the WM_QUERYENDSESSION from the OS with lParam = 0, which my app interprets as a shutdown request (as stated in http://msdn.microsoft.com/en-us/library/aa3...
Hi iam trying to retrieve the domain name of a machine using the following code
//if(FAILED(DnsQueryConfig(
// DnsConfigPrimaryDomainName_UTF8,
// FALSE,
// NULL,
// NULL,
// cszDomainName,
// &size
// )))
//{
// //break;
//}
//LPWSTR lpcszContent ...
What does HKLM in MS windows stand for??
...
How do I set the modification time of a file programmatically?
OS: Windows
Programming Language: C
...
I'm trying to parse a MYSQL slow query log from the command line.
Upon entering this:
set PATH=G:\xampp\perl\bin\;%PATH%
cd /d G:\xampp\mysql\scripts
perl mysqldumpslow.pl -s c -t 10
The shell returns an error can't locate strict.pm in @INC (@INC contains: .) at mysqldumpslow.pl at line 8. BEGIN failed
In the perl directory in xampp...
How many is the maximum number of sockets in java under windows?
How can I change it?
...
Hi,
I created a .properties file that contains a few simple key = value pairs.
I tried it out from a sample c++ console application, using imported java classes, and I was able to access it, no problem.
Now, I am trying to use it in the same way, from a C++ dll, which is being called by another (unmanaged) c++ project.
For some reason...
I have a FileSystemWatcher that processes files based on file system events. After awhile, the process is still alive, but it no longer detects the file system events. The process watches a local network share drive.
Anything I should be watching out for?
...
The application supports Windows XP, Vista, and Windows 7 but need DirectX libraries in order to work properly. I have the DirectX 9.0C Redistributable package and want to include it in my MSI installer created with a Visual Studio 2008 setup project.
Two pronged question:
How do I include the DirectX 9.0C package wiht my MSI?
Will the ...
I know there are tools like PE Explorer for inspecting the contents of DLLs on windows (exported symbols, etc). Is there something similar for static libraries? I'm linking against a third party library that's generating some linking errors, and I want to double check that the symbols I expect are indeed being provided.
...