Sign in
Windows SDK Support Team Blog
#define _WIN32_WINNT
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Common Tasks
Blog Home
Email Blog Author
OK
RSS for comments
RSS for posts
Atom
November, 2009
Search
Tags
Access Denied
Base
certificate
Certification
CreateProcessAsUser
CreateProcessWithLogonW
Crypto
CryptographicException
integrity level
LogonUser
LogonUser()
Microsoft Platform Ready Test Tool
MPR Test Tool
Networking
performance counters
Security
Service
SeTcbPrivilege
setsockopt
signtool
Token
UAC
windows media
windows media encoder
WTSQueryUserToken
Monthly Archives
Archives
May 2013
(3)
April 2013
(2)
March 2013
(2)
February 2013
(3)
January 2013
(1)
September 2012
(2)
November 2010
(3)
August 2010
(2)
May 2010
(12)
January 2010
(7)
December 2009
(2)
November 2009
(30)
October 2009
(4)
September 2009
(1)
August 2009
(1)
July 2009
(7)
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Windows SDK Support Team Blog
Steps to sign a file using Signtool.exe
Posted
over 4 years ago
by
Prateek Kr Dubey
1
Comments
You may have a situation where you need to sign a file which may be an a. .exe b. .cab c. .cat d. .ocx e. .dll f. .stl Using the CryptoAPI “signtool.exe”, the files can be digitally signed. Digitally signing a file essentially involves two steps. 1. Obtaining...
Windows SDK Support Team Blog
How to disable Address Space Layout Randomization (ASLR) ?
Posted
over 4 years ago
by
Prateek Kr Dubey
3
Comments
Here is the scenario - You have a legacy application where you wish to load a DLL or module at a fixed or preferred base address. Why would you need it?, that is because in the EXE or DLL code you may make use of the absolute addresses and...
Windows SDK Support Team Blog
ARP Changes in Server 2008/Vista:
Posted
over 4 years ago
by
Prateek Kr Dubey
0
Comments
Introduction: ARP is used to perform Duplicate Address Detection by sending an ARP request in which the Target Protocol Address is set to the IP address for which duplication is being detected. In other words, to detect whether other...
Windows SDK Support Team Blog
Is RijndaelManaged class FIPS compliant?
Posted
over 4 years ago
by
Prateek Kr Dubey
0
Comments
If you enabled the “fipsalgorithmpolicy” sub key in registry location “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa” to “1”, the applications that used the RijndaelManaged class give an exception saying: “Error: This implementation is not...
Windows SDK Support Team Blog
How to check SLP 1.0 values from the BIOS using Win32 API?
Posted
over 4 years ago
by
Prateek Kr Dubey
0
Comments
Question: Is there any API available to check SLP 1.0 values from the BIOS? Answer: Yes, you can use EnumSystemFirmwareTables API for that. EnumSystemFirmwareTables API enumerates all system firmware tables of the specified type. It supports 3...
Windows SDK Support Team Blog
Opps!!! System.Security.Cryptography.CryptographicException: The system cannot find the file specified.
Posted
over 4 years ago
by
Prateek Kr Dubey
0
Comments
If you are creating the cryptographic keys on the user's profile directory you may get a cryptographic exception saying: "CryptographicException: The system cannot find the file specified". The stack trace looks like: System.Security.Cryptography...
Windows SDK Support Team Blog
Where are my performance counters ?
Posted
over 4 years ago
by
Prateek Kr Dubey
0
Comments
Your custom created 32 bit performance counters do not show counter information when generating logs using user defined Data collector Set with 32 bit “PerfMon” tool on 64 bit windows Server 2008 machine. However, you are able to get live performance...
Windows SDK Support Team Blog
Access denied on a Mutex
Posted
over 4 years ago
by
Prateek Kr Dubey
0
Comments
If you are in a situation where, one process creates a MUTEX with default security descriptor and other process running in the same user’s context is not able to access it. You might be facing the problem because of newly introduced integrity mechanism...
Windows SDK Support Team Blog
Web application gets Access Denied accessing a Named Pipe.
Posted
over 4 years ago
by
Prateek Kr Dubey
0
Comments
Recently, I was troubleshooting a problem for one of my customers. A named pipe created by a native C application was not accessible by web client. The actual product is a convention Windows application which does IPC through named pipes. Both server...
Windows SDK Support Team Blog
Web Service can’t start the Windows Service
Posted
over 4 years ago
by
Prateek Kr Dubey
0
Comments
Working with Windows Service and Web Service together is nothing less than fun, especially when you are not an ASP.NET expert. Like many native developers I have my own challenges with words like managed, web service and web applications! I was debugging...
Windows SDK Support Team Blog
Introduction to IMAPI
Posted
over 4 years ago
by
Prateek Kr Dubey
0
Comments
In the recent past, I have seen few question coming to me saying, “How do I write data on the CD/DVD disk programmatically?” . During my research, I came across the interfaces available on Windows for burning CD/DVD programmatically that I want to share...
Windows SDK Support Team Blog
Correct way to join a Multicast Group on a specified interface.
Posted
over 4 years ago
by
Prateek Kr Dubey
0
Comments
Generally Multicast Sockets should be bound to the wildcard address [INADDR_ANY], before joining the group. Once the binding is done, you can join to the desired group by calling SetSockOpt API with IP_ADD_MEMBERSHIP providing the IP address of the...
Windows SDK Support Team Blog
How to programmatically inject a list of IP Addresses into the IP Options header in the IP Datagram [ Source Routing ]?
Posted
over 4 years ago
by
Prateek Kr Dubey
2
Comments
IP Datagrams gets routed dynamically in the sense, we cannot precisely predict which path every IP Datagram will take to reach the destination. Some times you may need to fix the path[ a set of routers] through which the IP Datagram must...
Windows SDK Support Team Blog
Why is WlanGetProfile API returning encrypted keyMaterial with XML profile on Windows XP SP3?
Posted
over 4 years ago
by
Prateek Kr Dubey
0
Comments
Question: We are trying to use some of the new WLAN APIs to get wireless network and password settings so that they can automatically connect to the network that the user is already connected to. We are getting XML based profile with keyMaterial using...
Windows SDK Support Team Blog
What is the recommended way to set the resolution of a webcam using DirectShow?
Posted
over 4 years ago
by
Prateek Kr Dubey
0
Comments
Question: Why does my DirectShow based video capture application fail to set resolution for the LifeCam VX-6000/VX-3000 webcam when LifeCam software is installed in the system? Is there any way to resolve this issue programmatically? Here is the code...
Windows SDK Support Team Blog
Do you need to explicitly call CryptoStream.Close() to close your CryptoStream object after you are done using it?
Posted
over 4 years ago
by
Prateek Kr Dubey
0
Comments
You can verify this with a simple program, stated below that shows that CryptoStream.Close() is explicitly not required. The expected result should be 104 since 13 bytes should be allocated. We get 104 with a call to Close() or without calling Close(...
Windows SDK Support Team Blog
UAC dialog on Process.Start()
Posted
over 4 years ago
by
Prateek Kr Dubey
0
Comments
Symptom: You may get Security Warning dialog while launching a process using fully qualified domain name path of the image. The warning dialog does not occur if image path is UNC path. For example, following piece of code will get the security warning...
Windows SDK Support Team Blog
Why does the NdrClientCall2() API call takes more then 4-5 milliseconds to complete?
Posted
over 4 years ago
by
Prateek Kr Dubey
0
Comments
Question: Why does the NdrClientCall2() API call takes more then 4-5 milliseconds to complete in my application? In rare cases I even see hundreds of milliseconds (57 millisecond at one time) just for the NdrClientCall2() API call to complete. In my application...
Windows SDK Support Team Blog
String Table in the Resource File [RC File] generated by CTRPP tool has junk characters for Unicode strings defined in the performance counter manifest XML file.
Posted
over 4 years ago
by
Prateek Kr Dubey
0
Comments
String Table in the Resource File [RC File] generated by CTRPP tool has junk characters for Unicode strings defined in the performance counter manifest XML file. Symptom: ======== You have defined the Performance Counter in an XML file which contains...
Windows SDK Support Team Blog
WriteFile API succeeds and returns TRUE, but data is not written to the SAN Drive.
Posted
over 4 years ago
by
Prateek Kr Dubey
0
Comments
Symptom: ======= WriteFile API returns TRUE and succeeds, but data is not written to the SAN Drive. In such a scenario, the lpNumberOfBytesWritten parameter returns Zero, but WriteFile indicates that it has succeeded in writing the data. Questions...
Windows SDK Support Team Blog
WMCreateStreamForURL is called in XP and Vista but not in Windows 7
Posted
over 4 years ago
by
Prateek Kr Dubey
0
Comments
It is always possible to write our own storage system for Windows media files and make the content available to users via streaming. A possibility of doing this is to write our own source plug-in as a DLL, which should implements the Istream interface...
Windows SDK Support Team Blog
GetIPForwardTable return’s undocumented error ERROR_MORE_DATA
Posted
over 4 years ago
by
Prateek Kr Dubey
0
Comments
Symptom: ======= GetIPForwardTable return’s undocumented error ERROR_MORE_DATA where it should actually return ERROR_INSUFFICIENT_BUFFER in a Windows XP environment. Questions: ========= Is this an expected behavior? How we should handle the situation...
Windows SDK Support Team Blog
Why does regedit.exe (or any other Microsoft program) crash when I try to create a remote thread into it using the CreateRemoteThread() API?
Posted
over 4 years ago
by
Prateek Kr Dubey
0
Comments
Question: On Windows XP, I am starting regedit.exe in suspended mode and forcing it to call the LoadLibrary () API to load an external DLL by using the CreateRemoteThread () API. After loading the DLL, when I try to resume the suspended thread,...
Windows SDK Support Team Blog
Only one CPU being utilized
Posted
over 4 years ago
by
Prateek Kr Dubey
3
Comments
Symptom: ======== You have several threads in your application running , but you observe that only One CPU Core is being utilized by all of your threads and you don't see any activity on the other CPU Cores. Questions: ======== Why do I don't see any...
Windows SDK Support Team Blog
Send multiple files to FAX in one call
Posted
over 4 years ago
by
Prateek Kr Dubey
0
Comments
There might be a need that an application need to send multiple files to the FAX server in one single call. While IFaxDocument::ConnectedSubmit Method allows to send a single file to FAX in one call, IFaxDocument2::ConnectedSubmit2 Method can be used...
Page 1 of 2 (30 items)
1
2