Sign In
Dhawan : The One
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
CreateFile
DISK_CACHE_INFORMATION
dll
DVD
EAP
EapPeerInvokeInteractiveUI
end point
ERROR_ALREADY_ASSIGNED
export
FaxComexLib
FaxDocument
FindFirstFile
FindNextFile
GetAdaptersAddresses
GetAdaptersInfo
GetFileAttributes
GetLogicalDrives
IGMP
ip
managed
mapped drive
P/Invoke
unmanaged
Win32 API
Windows Vista
Archive
Archives
November 2009
(3)
October 2009
(3)
September 2009
(1)
August 2009
(4)
July 2009
(5)
MSDN Blogs
>
Dhawan : The One
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Dhawan : The One
When custom EAP authentication dll calls EapPeerInvokeInteractiveUI for wireless LAN 802.1x …
Posted
over 3 years ago
by
Dhawan
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...
Dhawan : The One
Introduction to IMAPI
Posted
over 3 years ago
by
Dhawan
0
Comments
In recent past, I have seen few question coming to me asking, “How do I write data on the CD/DVD disk programmatically?” . During my research, I have good introduction to the interfaces available on Windows for burning CD/DVD programmatically that I want...
Dhawan : The One
Send multiple files to FAX in one call
Posted
over 3 years ago
by
Dhawan
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...
Dhawan : The One
Get the MAC address of a machine/device whose IP Address is known
Posted
over 3 years ago
by
Dhawan
0
Comments
Sometime you may be in a situation to get the MAC address of a machine/device whose IP Address is known. Conventional way like using NetBios or GetAdaptersInfo or GetAdaptersAddresses can give the MAC address of the same machine where the code is running...
Dhawan : The One
Enable or Disable “Enable write caching on disk” behavior on disk
Posted
over 3 years ago
by
Dhawan
2
Comments
Couple of times I got a question to <Enable or Disable “Enable write caching on disk” behavior on disk>, How to do it programmatically on Windows? When I got this question for the first time, it was tough but doing research I was able to solve it...
Dhawan : The One
Check membership of a group from user’s process access token
Posted
over 3 years ago
by
Dhawan
0
Comments
Question may be, I need to check If the user belong to a particular group or not? There are NetUser* APIs available in NetApi32.lib to list the groups a user belong to a group. You can actually check but then you will need to compare the string of the...
Dhawan : The One
Troubleshoot thread data race conditions in multithreaded environment: Chess
Posted
over 3 years ago
by
Dhawan
0
Comments
Someone pointed me to look at this tool and see if there is any equivalent we have already or not. I looked at it and found it interesting. I have not explored this tool yet, but looks like it will be very helpful in debugging complex multithreaded applications...
Dhawan : The One
Slimmest way to call an exported function of unmanaged dll from a managed C# application
Posted
over 3 years ago
by
Dhawan
0
Comments
Many times I came to situation that someone don’t know a good way to call an exported function of unmanaged dll from a managed application C# or VB. Person might not have any working knowledge of unmanaged dll, if they are required to create one. I...
Dhawan : The One
Platform Invoke
Posted
over 3 years ago
by
Dhawan
1
Comments
Someone asked me, "Why you are so unmanaged?" I said, "Because I work in unmanaged code." and burst into laughter. The gentleman could not understand why I am laughing, but said, "Sometimes you are managed." I could not control myself to laugh and said...
Dhawan : The One
Working with Sysinternal tools -1
Posted
over 3 years ago
by
Dhawan
0
Comments
Windows Sysinternals: Documentation, downloads and additional resources provides a set of tools to get information about various functionalities on the system. The area of information include , process running on the system, file operations, registry...
Dhawan : The One
How to setup breakpoint programmatically in source code?
Posted
over 3 years ago
by
Dhawan
1
Comments
Sometimes, you might be in a situation when you want to break in your code at a certain location. You might be trying to put a message box or getch() kind of method for that. There is a direct code to do that, through assembly language. int _tmain...
Dhawan : The One
Expecting IGMPv3 packets to go out of the machine, but IGMPv2 packets are going out, What is the problem?
Posted
over 3 years ago
by
Dhawan
0
Comments
Possible Scenario: On Windows XP or Windows Server 2003 by default IGMPv3 is enabled. When you send a IGMP multicast packet after joining the multicast group using IP_ADD_SOURCE_MEMBERSHIP and setsockopt(), you see that IGMPv2 packet is going out of the...
Dhawan : The One
Mapped Drive - Can't create Mapped Drive / Can't access Mapped Drive. What's happenning?
Posted
over 3 years ago
by
Dhawan
0
Comments
Developing with mapped drives on Windows machines, you can often get the similar messages like subject of this article. What’s wrong? Even sometimes, you can see the mapped drive in explorer or using “net use”, but still your application can’t use...
Dhawan : The One
Mapped drives can’t be created after Microsoft Security Update from code running under Network Service account
Posted
over 3 years ago
by
Dhawan
0
Comments
Mapped drives can’t be created after Microsoft Security Update from code running under Network Service account MS09-012: Description of the security update for Windows Service Isolation: April 2009 ( KB 956572 ) Possible scenario: You are using...
Dhawan : The One
File.Exists /_access / GetFileAttributes / FindFirstFile,FindNextFile / _stat behavior over SMB 2.0
Posted
over 3 years ago
by
Dhawan
0
Comments
Problem Observed: When an application on client creates a file on a shared directory on server or application on server creates a file on shared directory on server, and file is created successfully but when the application on client try to check the...
Dhawan : The One
Introduction
Posted
over 3 years ago
by
Dhawan
0
Comments
Small Intro.. Someone asked me about four and half years back in the initial days of my first job, What you will do in future? I told,”I will join Microsoft in 6 years”. Everyone laughed, but I was determined. I did it in 2 years, when I joined my...
Page 1 of 1 (16 items)