Browse by Tags

Using /clr and __declspec(thread)
19 April 06 01:40 AM | jkuhne | 1 Comments   
Sorry I haven't been writing much lately, but a lot has been going on in Expression land. I've switched over to working on build and setup development so you can expect to see the flavor of my posts change somewhat. Here's a frustrating bit I ran into Read More...
Looking at double buffering and the new BufferedGraphics classes
08 September 05 07:59 AM | jkuhne | 0 Comments   
I started spending some time looking at double buffering with Windows Forms a little while back and noticed that in the 2.0 framework there are a couple of new BufferedGraphics classes. I toyed around with them a bit and got them to work, but didn’t really Read More...
Setting up C++ Interop (with Win32) in VS 2005.
08 September 05 01:17 AM | jkuhne | 0 Comments   
I've already given the steps necessary to make this happen in an earlier post , but as this will come up so much I decided to pull it into a seperate post with more explicit details. The basic things you need again are: /clr option set for the project. Read More...
Inlining IL link
26 July 05 03:54 AM | jkuhne | 0 Comments   
A tool for inlining IL in C#/VB . (Essentially.) Read More...
Filed under: ,
Generic Collections IV
24 July 05 10:46 PM | jkuhne | 2 Comments   
Back again, and as promised... Subclassing Generic Collections The framework provides three basic collections that are intended for derivation. They are located in System.Collections.ObjectModel: Collection<T> KeyedCollection<TKey, TItem> Read More...
Generic Collections III
24 July 05 03:29 AM | jkuhne | 4 Comments   
So far I've gone over the basics of generic collections and moved on to looking at List<T> and Predicate<T>. As mentioned yesterday, this post will deal with subclassing and the other System delegate types. The "Other" System.Delegates We've Read More...
Generic Collections II
23 July 05 01:55 AM | jkuhne | 7 Comments   
In yesterday's post I went over the very basics of generic collections in the 2.0 .Net framework. Today I pick up where I left off with... Predicate<T> System.Predicate<T> is a generic delegate that is used to specify a search condition method Read More...
Generic Collections I
22 July 05 05:19 AM | jkuhne | 10 Comments   
In one of my first posts I briefly mentioned that I would discuss a bit about what I've learned about using the new generic collections. I've been putting it off a bit because I knew it would be a bit lengthy, but I really feel this is important so I'm Read More...
A little more on bytes and endianness (byte order)
21 July 05 05:00 AM | jkuhne | 1 Comments   
In my last post I talked about converting structs into byte arrays and vice versa. There are a couple of related posts I've found that are worth reading: Read binary files more efficiently using C# Convert Integers to Byte Arrays The first post gives Read More...
Filed under: ,
Byte of a struct and onto endian concerns
19 July 05 05:56 AM | jkuhne | 3 Comments   
[Updated: added performance data. 7/19] I haven't written for a while, but it hasn't been for lack of things to write about. Just been a little busier than normal lately. I'll let you imagine why. ;) Something that I've been working on is parsing graphics Read More...
Filed under: ,
C# or C++?
12 June 05 11:52 PM | jkuhne | 0 Comments   
I just read C++ vs. C# and thought it might be worthwhile to throw up a few thoughts. I've been ranting and raving about how great the new Managed C++ (C++/CLI) is. It's true, it is great, but I still prefer to do most of my work in C#. Why? C# compiles Read More...
P/Invoke? No way! (Pt. 2)
12 June 05 04:52 PM | jkuhne | 1 Comments   
[7/20/05: Additional comment added for Marshal::GetFunctionPointerForDelegate()] There are some instances where Win32 requires a callback function pointer. This frequently comes up in Enumeration APIs, such as EnumWindows. In this post we’ll look at some Read More...
P/Invoke? No way!
11 June 05 11:52 PM | jkuhne | 4 Comments   
[7/20/05: Added an additional comment regarding setting up for Win32] I've mentioned in my earlier posts just how nice Managed C++ in 2005 (C++/CLI) is when it comes to interoping with unmanaged code. It makes P/Invoke downright painful by comparison. Read More...
Acrylic Automation: Crossing the Barrier
11 June 05 04:10 PM | jkuhne | 1 Comments   
Ok, so I really was chomping at the bit to blog. Now that we've gone beta I can get a lot of things off of my chest. Just too awkward to blog much before the product was announced, you know? In this post I'm going to give a bit of info on how to write Read More...
VS 2005 Managed C++ Syntax Pt. 1
10 June 05 10:53 PM | jkuhne | 0 Comments   
I had very little experience in C++ when I sat down and tried my hand at using Managed C++ in Whidbey last fall (C++/CLI). Documentation was a bit more sparse back then and I found a few things a little difficult to figure out. I've looked again and I Read More...
More Posts Next page »

Search

This Blog

Syndication

Page view tracker