jaredpar's WebLog

Code, rants and ramblings of a programmer.
Posts
  • 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

    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

    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

    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

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

    Changing Logon screen keyboard layout

    • 0 Comments
    I switched to using a Dvorak keyboard part time around January of this year. I now use a Dvorak keyboard full time and the last remaining issue I have is the logon screen. Even though the keyboard for my user is Dvorak, the default Windows keyboard is...
  • jaredpar's WebLog

    VS 2005 Beta2 is now available

    • 2 Comments
    http://labs.msdn.microsoft.com/vs2005/
  • jaredpar's WebLog

    Initiating a remote desktop console session as NonAdmin

    • 0 Comments
    On of the problems I've encountered running with an LUA account is the inability to initiate a remote desktop console session. It's possible to connect to a console session that is already started though if it is with the same account. For those of...
  • jaredpar's WebLog

    Finally

    • 0 Comments
    Drivers will now be fined for going slow in the left lane http://abcnews.go.com/US/wireStory?id=639205
  • jaredpar's WebLog

    File method and property names

    • 2 Comments
    Several APIs that I have worked with deal with the file system in some form or fashion. However there does not seem to be any sense of unity with respect to property and method names when it comes to the display form returned or processed. The two most...
  • jaredpar's WebLog

    COMException error messages

    • 4 Comments
    Quick caveat; I am not a hardcore COM guy. I do work with COM quite a bit but most of it is hobbyist work at home. So if I make any COM errors here please let me know and I will correct them. Now onto the fun stuff. Pure COM uses HRESULTS to indicate...
  • jaredpar's WebLog

    Code snippets in Whidbey

    • 0 Comments
    I haven't had a chance to try out code snippets yet but I've found a couple of other people blogging about them http://blogs.msdn.com/jamesnewkirk/archive/2004/06/02/147153.aspx http://jasonkemp.ca/archive/2004/07/18/197.aspx And a good article by O'Reilly...
  • jaredpar's WebLog

    Rediscovering Macros with MC++

    • 2 Comments
    I've been coding primarily in C# for a couple of years now. Up until recently it had been almost a year since I coded any real C++ code. Now that I am using MC++ at home I am starting to get back in the habbit and last night I rediscovered macros (you...
  • jaredpar's WebLog

    Managed C++, Interop and FILETIME

    • 4 Comments
    At home I do a lot of interop with the Win32 API. Over time after I saw myself writing the same interop code on several different projects so I started working on a centralized library for this type of code. Originally I wrote this library in C#. It was...
  • jaredpar's WebLog

    Myth: Creating web applications with Visual Studio requires Admin privileges

    • 3 Comments
    As you can imagine, working on the Whitehorse team, I generate a lot of web applications in a given day. I also run with an LUA account on my developer boxes. Even internally, I am constantly amazed by the number of people who believe that you must have...
  • jaredpar's WebLog

    Georgia Tech Career Fair

    • 1 Comments
    As a recent graduate of Georgia Tech, I will be attending the Career fair that is taking place on February 2nd. So if you are a tech student and at the career fair please drop by, say hi and drop off a resume. In another Georgia Tech related note: I was...
  • jaredpar's WebLog

    Who's selling your email address?

    • 9 Comments
    Ever wonder which companies that you shop with are selling off your address? I used to be very paranoid about giving my email address to companies that I shopped with for fear that they would sell it off and I would start to get a ton of spam. Like most...
  • jaredpar's WebLog

    Singleton redundancy

    • 5 Comments
    At home I code a lot of singleton classes. Most of this code is boilerplate code that I just write over and over again. Originally I thought that generics would solve this problem. I planned to write a generic singelton of the following form. public class...
  • jaredpar's WebLog

    Dfs problems

    • 3 Comments
    I run an active directory domain at home and I ran into some problems over the weekend. I'm not an active directory guru by any means but this problem seems rather obscure and I wanted to post this to help anyone else who might find themselves in the...
  • jaredpar's WebLog

    Labor Day Computer Woes

    • 2 Comments
    Well, I wanted my first real post to be technical in nature but I had an interesting day with computers yesterday and decided to share. Background Some of my friends and I run a VPN and Active Directory Domain. My VPN server is quite old and a constant...
  • jaredpar's WebLog

    Introduction

    • 0 Comments
    Hello, I am Jared Parsons. I work on the Whitehorse team in Visual Studio. I'm involved with the application connection diagram code gen/sync, and the deployment report I'm starting this blog beacuse I want a good place to share my thoughts and ideas...
Page 13 of 13 (321 items) «910111213