Dhawan : The One

Introduction to IMAPI

In recent past, I have seen few question coming to me asking, “How do I write data on the CD/DVD...

Author: Dhawan Date: 11/17/2009

When custom EAP authentication dll calls EapPeerInvokeInteractiveUI for wireless LAN 802.1x …

When custom EAP authentication dll calls EapPeerInvokeInteractiveUI for wireless LAN 802.1x, a...

Author: Dhawan Date: 11/17/2009

Send multiple files to FAX in one call

There might be a need that an application need to send multiple files to the FAX server in one...

Author: Dhawan Date: 11/17/2009

Get the MAC address of a machine/device whose IP Address is known

Sometime you may be in a situation to get the MAC address of a machine/device whose IP Address is...

Author: Dhawan Date: 10/05/2009

Enable or Disable “Enable write caching on disk” behavior on disk

Couple of times I got a question to <Enable or Disable “Enable write caching on disk” behavior on...

Author: Dhawan Date: 10/05/2009

Check membership of a group from user’s process access token

Question may be, I need to check If the user belong to a particular group or not? There are NetUser*...

Author: Dhawan Date: 10/05/2009

Troubleshoot thread data race conditions in multithreaded environment: Chess

Someone pointed me to look at this tool and see if there is any equivalent we have already or not. I...

Author: Dhawan Date: 09/28/2009

Slimmest way to call an exported function of unmanaged dll from a managed C# application

Many times I came to situation that someone don’t know a good way to call an exported function of...

Author: Dhawan Date: 08/31/2009

Platform Invoke

Someone asked me, "Why you are so unmanaged?" I said, "Because I work in unmanaged code." and burst...

Author: Dhawan Date: 08/23/2009

Working with Sysinternal tools -1

Windows Sysinternals: Documentation, downloads and additional resources provides a set of tools to...

Author: Dhawan Date: 08/22/2009

How to setup breakpoint programmatically in source code?

Sometimes, you might be in a situation when you want to break in your code at a certain location....

Author: Dhawan Date: 08/03/2009

Expecting IGMPv3 packets to go out of the machine, but IGMPv2 packets are going out, What is the problem?

Possible Scenario: On Windows XP or Windows Server 2003 by default IGMPv3 is enabled. When you send...

Author: Dhawan Date: 07/27/2009

Mapped Drive - Can't create Mapped Drive / Can't access Mapped Drive. What's happenning?

Developing with mapped drives on Windows machines, you can often get the similar messages like...

Author: Dhawan Date: 07/16/2009

Mapped drives can’t be created after Microsoft Security Update from code running under Network Service account

Mapped drives can’t be created after Microsoft Security Update from code running under Network...

Author: Dhawan Date: 07/14/2009

File.Exists /_access / GetFileAttributes / FindFirstFile,FindNextFile / _stat behavior over SMB 2.0

Problem Observed: When an application on client creates a file on a shared directory on server or...

Author: Dhawan Date: 07/10/2009