I'm trying to iterate through the contents of a folder in a pst file using VS.NET 2005 + SP1 and Outlook 2007 running on 64-bit Vista Business. Virtually all the examples on Google and MSDN seem to be on how to write add-ins - I don't want to do that.
In my program I need the handle to the current user's token to perform some operations in native code. I am trying to get the handle using WindowsIdentity.GetCurrent().Token and pass it to my native dll. Does this method return a handle to the user's token? Or is there some
I'm new to .NET but am trying to pass a string pointer as the lParam of a SendMessage call from some managed code to my DLL written in unmanaged C++. What I've done so far is this (in VB.NET as that's what my colleague wants to use, but if you want to give me a solution in C# ...