jaredpar's WebLog

Code, rants and ramblings of a programmer.
Posts
  • jaredpar's WebLog

    Console Apps and STA COM Objects

    • 5 Comments
    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...
  • jaredpar's WebLog

    COMException error messages (part 2)

    • 3 Comments
    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...
  • jaredpar's WebLog

    Modifying ATL Project to Register Per User

    • 2 Comments
    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...
  • jaredpar's WebLog

    Interop and Unions

    • 1 Comments
    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 ...
  • jaredpar's WebLog

    COM objects and LUA

    • 1 Comments
    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...
  • jaredpar's WebLog

    Paper on Content Distrbution

    • 0 Comments
    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
  • jaredpar's WebLog

    Using Windows SxS to override COM Objects as LUA

    • 0 Comments
    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...
Page 1 of 1 (7 items)

May, 2005