x64 Development with .NET

Earlier this year I made the switch to a 64-bit operating system - Vista Ultimate x64 to be exact.  For the most part, this process has been relatively painless, but there have been a few hiccups along the way (x64 compatible drivers, mainly, but that's not the point of this discussion).

In the world of x64 development, there have been a few struggling points that I thought I'd outline here.  This list will likely grow, so expect future posts on the matter.

In the wonderful world of .NET development, applications and assemblies can be compiled to target various platforms.  By default, applications and assemblies are compiled as Any CPU in Visual Studio.  In this scenario, the CLR will load the assembly as whatever the default target is for the machine it is being executed on.  For example, when running an executable on an x64 machine, it will be run as a 64-bit process.

Read More

Now Running Community Server 2007.1

After a moderate amount of pain, I have finally updated the site to Community Server 2007.1.  I think everything is working.  I'm likely wrong.  Therefore if anyone sees anything that is not working, broken layouts, broken links, etc. PLEASE contact me and let me know so that I may correct it.

One noteworthy item:  The new official URL for the blog is www.brianpeek.com/blog/ .  The main site will 301 redirect you here.  The old /blogs address should also 301 you here as well.  If you're seeing any weirdness there, again, please contact me.

Thanks!

Read More

Possessed PC Pranks for Halloween

It's time for more Halloween article fun at Coding4Fun.  This year I developed two applications based on movies to scare your friends.  One displays the "cursed video" from The Ring at 50% transparency against the victim's display, while the other possesses Notepad to type "All work and no play makes Jack a dull boy" over and over again as in The Shining.

Source and executables are provided.  Prank you friends and co-workers again this year!

Read More

Coding4Fun Article Ideas

If you visit my site, you're likely here because of an article I wrote on Microsoft's Coding4Fun site.  Or perhaps someone doesn't like you and punished you with a link to my blog.  Assuming the former, I am continuing to write articles on topics that are fun and/or interesting for me, but I wonder what the readers find fun and/or interesting.  So, with that in mind, do you have ideas for a future article?

If you have any ideas, I'd love to hear about them!  Please feel free to leave ideas as a comment on this article, a post in this general forum thread (easier for discussion), or contact me directly.  Coding4Fun is a Microsoft site that is geared toward development in .NET using the free Visual Studio Express products, so please keep that in mind when offering suggestions.

I look forward to hearing what you readers would like to learn about.

Thanks!

Read More