Welcome to MSDN Blogs Sign in | Join | Help

jaredpar's WebLog

Code, rants and ramblings of a programmer.

Syndication

News

Now Reading

Expert F#

What's a better book to read when learning F#?

Essential WPF

Thus far the best book I've read on WPF. Gets right down to working with WPF and the goals/history.

Purely Functional Data Structures

Reading this book makes me feel like I'm back in college. It will really get your mind going and is best read with a whiteboard handy.


May 2005 - Posts

Modifying ATL Project to Register Per User
A week ago, I blogged about how to register COM objects as LUA ( http://blogs.msdn.com/jaredpar/archive/2005/05/17/418780.aspx ). This is a follow up post, to show you how to alter your standard ATL registration code so that your DLL will register for Read More...

Posted Sunday, May 29, 2005 1:14 AM by Jared Parsons | 2 Comments

Paper on Content Distrbution
Ran accross this paper that does a good job of examining the history of content distrbution. Couple of years old now so it leaves out such items as Bittorrent but still a good read. http://www.bearcave.com/misl/misl_tech/msdrm/darknet.htm Read More...

Posted Thursday, May 19, 2005 3:50 PM by Jared Parsons | 0 Comments

COM objects and LUA
Believe it or not, you can develop, register and use COM objects with an LUA account [1]. COM objects are typically registered at one of one of two places. HKLM\Software\Classes HKCU\Software\Classes Some people think that COM objects are registered under Read More...

Posted Tuesday, May 17, 2005 12:12 PM by Jared Parsons | 1 Comments

Interop and Unions
A frequent question I see pop up on news groups is how to create Unions in managed code for interop with P/Invoke. .NET does not directly support unions but you can use some Marshal magic to get them working. Take the following C union. union Foo { int Read More...

Posted Friday, May 13, 2005 12:31 PM by Jared Parsons | 1 Comments

COMException error messages (part 2)
This is a follow up to an earlier post about COMException error messages. http://blogs.msdn.com/jaredpar/archive/2005/03/25/402386.aspx In my previous post we examined the process by which an HRESULT is converted to a COMException by the CLR. Several Read More...

Posted Wednesday, May 11, 2005 12:26 AM by Jared Parsons | 2 Comments

Console Apps and STA COM Objects
This article assumes that you have basic knowledge of COM and apartments. I've talked with several people who found that COM objects they created in their console applications were not destroyed until the application exited. This was causing memory leaks Read More...

Posted Thursday, May 05, 2005 6:26 PM by Jared Parsons | 4 Comments

Using Windows SxS to override COM Objects as LUA
Ran accross a great article on how to use SxS Manifest files to intsall COM objects as Non-Admin. This approach has several limitations Only works an XP SP1 (and higher) and W2K3 (and higher). Requires you to have write access to the directory containing Read More...

Posted Monday, May 02, 2005 12:25 PM by Jared Parsons | 0 Comments

Page view tracker