November, 2009 - LogIn SDK - Windows SDK team blog - Site Home - MSDN Blogs
Sign In
LogIn SDK - Windows SDK team blog
#define _WIN32_WINNT
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
Access Denied
Ankit
Balajee
Base
certificate
CreateRemoteThread
Crypto
CryptographicException
integrity level
LogonUser
Mahatab
Networking
Nitin
performance counters
Prateek
Sandeep
Security
Service
setsockopt
Shamik
signtool
Token
UAC
windows media
windows media encoder
Archive
Archives
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)
November, 2009
MSDN Blogs
>
LogIn SDK - Windows SDK team blog
>
November, 2009
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
LogIn SDK - Windows SDK team blog
How to disable Address Space Layout Randomization (ASLR) ?
Posted
over 3 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...
LogIn SDK - Windows SDK team blog
GetIPForwardTable return’s undocumented error ERROR_MORE_DATA
Posted
over 3 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...
LogIn SDK - Windows SDK team blog
ARP Changes in Server 2008/Vista:
Posted
over 3 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...
LogIn SDK - Windows SDK team blog
Web Service can’t start the Windows Service
Posted
over 3 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...
LogIn SDK - Windows SDK team blog
Web application gets Access Denied accessing a Named Pipe.
Posted
over 3 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...
LogIn SDK - Windows SDK team blog
Where are my performance counters ?
Posted
over 3 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...
LogIn SDK - Windows SDK team blog
Send multiple files to FAX in one call
Posted
over 3 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...
LogIn SDK - Windows SDK team blog
When custom EAP authentication dll calls EapPeerInvokeInteractiveUI for wireless LAN 802.1x
Posted
over 3 years ago
by
Prateek Kr Dubey
0
Comments
When custom EAP authentication dll calls EapPeerInvokeInteractiveUI for wireless LAN 802.1x, a dialog box is displayed and a balloon is popped-up on Windows Vista machine. And the developer of the EAP authentication dll, needs to suppress dialog box and...
LogIn SDK - Windows SDK team blog
Introduction to IMAPI
Posted
over 3 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...
LogIn SDK - Windows SDK team blog
UAC dialog on Process.Start()
Posted
over 3 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...
LogIn SDK - Windows SDK team blog
Opps!!! System.Security.Cryptography.CryptographicException: The system cannot find the file specified.
Posted
over 3 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...
LogIn SDK - Windows SDK team blog
Do you need to explicitly call CryptoStream.Close() to close your CryptoStream object after you are done using it?
Posted
over 3 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(...
LogIn SDK - Windows SDK team blog
Steps to sign a file using Signtool.exe
Posted
over 3 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...
LogIn SDK - Windows SDK team blog
How to create different Firewall Rules on different Interfaces in Windows XP OS Programmatically?
Posted
over 3 years ago
by
Prateek Kr Dubey
0
Comments
You want to create different exception rules on different interfaces on an XP Based operating system programmatically. Is there any API's that exists to accomplish this? You can use the INetSharingPortMapping (http://msdn.microsoft.com/en-us/library...
LogIn SDK - Windows SDK team blog
Correct way to join a Multicast Group on a specified interface.
Posted
over 3 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...
LogIn SDK - Windows SDK team blog
Bluetooth Manager does not recognizes the devices, if the device gets paired with another box and comes back later.
Posted
over 3 years ago
by
Prateek Kr Dubey
0
Comments
Consider the following scenario: a) You have a Bluetooth device with serial port profile connected after pairing via a USB dongle to a windows box. b) You remove the dongle and insert on an another PC and pair it. c) You then again remove the USB dongle...
LogIn SDK - Windows SDK team blog
Few points to share about Windows Media Encoder
Posted
over 3 years ago
by
Prateek Kr Dubey
0
Comments
You may come across issues such as hang or a crash when trying to use Windows Media Encoder from a service. Say you have a COM object which instantiate Windows Media Encoder and passes this to a service. The service may do one or more of the following...
LogIn SDK - Windows SDK team blog
Access denied on a Mutex
Posted
over 3 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...
LogIn SDK - Windows SDK team blog
How to programmatically inject a list of IP Addresses into the IP Options header in the IP Datagram [ Source Routing ]?
Posted
over 3 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...
LogIn SDK - Windows SDK team blog
Only one CPU being utilized
Posted
over 3 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...
LogIn SDK - Windows SDK 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 3 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...
LogIn SDK - Windows SDK team blog
WriteFile API succeeds and returns TRUE, but data is not written to the SAN Drive.
Posted
over 3 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...
LogIn SDK - Windows SDK team blog
WMCreateStreamForURL is called in XP and Vista but not in Windows 7
Posted
over 3 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...
LogIn SDK - Windows SDK team blog
Is RijndaelManaged class FIPS compliant?
Posted
over 3 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...
LogIn SDK - Windows SDK team blog
Why is WlanGetProfile API returning encrypted keyMaterial with XML profile on Windows XP SP3?
Posted
over 3 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...
Page 1 of 2 (30 items)
1
2