We all know that the Windows API is a diabolical machination on the part of Microsoft. I think that the best way to get that mess to work is to look at other people's stuff, so here's the source for JLookUp. You're welcome to have a field day with the code, but I'd appreciate it if you 1) let me know if you use it for anything, or 2) find any bugs.
* JLookUp.1.0.7.2.source.zip [~0.2 mb]
* JLookUp.1.0.7.2.source.zip (FAST mirror)