win32
52 posts · All topics
- — Universal Copy System Link for 97 Windows PCs
In 1997 I wrote UcsLink.Fusion for the University of Geneva. We had hundreds of PCs across the city, Sun and Windows NT servers, and Windows 95 and Linux workstations. Getting a...
- — Good Morning, Dave: the 1998 INET Conference Kiosk Launcher
In July 1998, the Internet Society held INET ‘98, “The Internet Summit”, at Palexpo in Geneva. The University of Geneva provided about 250 computers for the conference, and I wa...
- — File & Folder 98: a 1998 Word Document Manager
In the 1990s I wrote a document manager for a small business in Geneva with about 20 workstations. Most of its staff were new to computers, and folders were a challenging idea t...
- — ResourceLib 1.4 Released
https://github.com/dblock/resourcelib
- — WAFFLE 1.5 Released
- — Single Sign-On: Servlet Negotiate Security Filter (Kerberos + NTLM) w/ Waffle and Jetty
- — Community MSI Extensions 1.3 Released
https://dblock.github.io/msiext/
- — ResourceLib 1.3 Released
I’ve released ResourceLib 1.3.
- — Waffle @ NYJavaSIG
Waffle is a native C# and Java library that does everything Windows authentication (Negotiate, NTLM and Kerberos), on Windows - https://github.com/dblock/waffle/.
- — Don't Hate UI Testing - Reliably Testing Asynchronous UI w/ RSpec & Capybara
- — dotNetInstaller 2.0 Released
I’ve released DNI 2.0 today. It’s a major release with a new HTML bootstrapper, better elevation support, Windows 8, etc. It has been stable for quite a while now and a few peop...
- — Blast From The Past: Jade
In 1997 I wrote a program called Jade. It worked on Windows 3.1. I can’t get it to run anymore, but I got the image that would hang there until the app loaded – it says Stolen T...
- — Waffle 1.4 Released
- — Blast from the past: working versions of XReplace-32 and Expression Calculator
In 2009 I gave away the remainder of my old company’s, Vestris Inc., software. The source code for all of it is also available here.
- — VirtualBox: Linux on Windows
I am going to say nice things about Oracle software. Brace yourself.
- — JNA: Getting currently logged-in user's groups
A Waffle user is asking how to get the groups for a currently logged-in user. You don’t need Waffle to do this, just JNA. The 3.2.7 release has an Advapi32Util class that implem...
- — Waffle / Сейчас всё станет намного сложнее: troubleshooting Kerberos and NTLM
- — ProcessDomain: remoting & out-of-process AppDomains
- — Win32: When things get seriously obscure in Windows XP/2003 UpdateResource
I just fixed dotnetinstaller#8157. It was a humbling and head-scratching two hours.
- — Almost Bricked Samsung Galaxy S Vibrant
Today I almost bricked my Android. Rest assured, it all ends well.
- — dotNetInstaller: UAC Elevation on Install
Following a much pleasing trend of developers contributing major functionality to my open-source projects, @nsleightholm (Neil Sleightholm who works for a company called X2Syste...
- — Waffle: Single Sign-On User Impersonation in Tomcat
- — The program can't start because msvcrt-ruby18.dll is missing from your computer.
So I’ve been playing with Ruby. Yes, I am using a Windows 7 64-bit laptop and yes, despite the common message from most people on the Internet encouraging me to run Ubuntu, thin...
- — MSI: This installation is forbidden by system policy.
I ran into the infamous “this installation is forbidden by system policy” error message this morning while trying to fix the MsiExt build on a new Windows 2003 64-bit build mach...
- — JNA: Building JNA on Windows 64-bit
Let’s build JNA on a Windows AMD 64. I am always confused about which Cygwin packages I actually need to do that. Every time I get it wrong. So this is what you need beyond the ...
- — log4jna: The description for Event ID 4096 from source log4jna cannot be found.
This is a pretty common problem with NTEventLogAppender (both log4j and log4jna versions) and generally with firing events to the Windows event log. The events are properly fire...
- — log4jna: log4j:ERROR Could not register event source (Access is denied.)
This is a pretty common problem with NTEventLogAppender (both log4j and log4jna versions) on Windows Vista, 7 or 2008.
- — JNA: Reading Windows Event Log entries in Java
- — Log4jna: getting rid of the pesky NTEventLogAppender.dll
Are you using log4j’s NTEventLogAppender to send events to the Windows event log? Then you’re familiar with NTEventLogAppender.dll that one must place in the Windows system dire...
- — Waffle 1.3 Released
- — Introducing Oshi: Operating System and Hardware Information (Java)
- — WAFFLE: A PowerPoint Presentation
- — Java Native Access (JNA) 3.2.5 Shipped
3.2.5 shipped quietly last week.
- — Pure Java Waffle
- — JNA: Working with Unions
The Grey Rat
- — JNA: pointers to arrays of pointers
I recently had a few drinks too many with my coworkers at the Russian Vodka Room and took the subway home. It’s a thirty minute ride during which I tried to implement EnumerateS...
- — JNA: AcquireCredentialsHandle, InitializeSecurityContext and AcceptSecurityContext - Establishing an Authenticated Connection
I’ve been working on porting WAFFLE to Java/ JNA. As usual I have modest and practical goals with that project: to provide a working example for everything InitializeSecurityCon...
- — JNA: accessing Windows registry from Java
Some things should just be easy. I’ve committed a bunch of registry utility functions into JNA’s platform.jar, all with unit tests. You don’t have to break your head with Win32 ...
- — JNA: Win32 platform API implementation
Lately I’ve been working on a native Java implementation of Waffle and contributing an increasing amount of code to the java.net JNA project. Waffle has several goals that provi...
- — WAFFLE: Windows Authentication Functional Framework (LE)
- — Win32 PInvoke with JNA
One of the main reasons I never liked JAVA is because of it’s cross-platform philosophy. The idea is that everything needs to be so generic and portable, that you can’t get anyt...
- — Cabinet.dll: what's a proper way to handle fdintCABINET_INFO in a split cab
I’ve been tracking a bug in CabLib, used in dotNetInstaller recently. CabLib is a complete C# and C++ wrapper for Cabinet.dll and its goal is to make it easier to CAB files. Any...
- — MSIOpenPackage on Windows 7: behavior changed
I was very happy upgrading to Windows 7. Virtually everything worked. All kinds of source code that I am writing compiles and runs without issues. It’s only a week later that I ...
- — Locating UI controls and clicking through menus with System.Windows.Automation and White
In a previous post I had implemented clicking through menus with White. Someone pointed out that this was a solved problem and I didn’t need to write any code.
- — Automating Win32 UI Testing: System.Windows.Automation and Project White
Just when I thought things were well under control in dotNetInstaller, someone filed this bug. It basically says that an installed check doesn’t work. This is pretty major funct...
- — CryptProtectData and FIPS 140
In the past years at Application Security Inc. I’ve learned a lot about selling software to the US government, including very secretive organizations such as the CIA, DOJ, IRS, ...
- — ResourceLib 1.2 with added support for RT_JUSTABOUTEVERYTHING
I’ve been either working on ResourceLib on the subway on my work to and from work for the last few weeks or reading Raymond Chen’s “The Old New Thing”. Those two exercises go we...
- — MSLU is well alive or how to run on Windows 95/98 without carrying unicows.dll
I accidentally broke support for Windows 95/98/ME in dotNetInstaller. I was even more surprised that someone cared. A developer reported the bug, and then my friends in Botswana...
- — File Resource Management .NET Library
- — Icon support in ResourceLib.NET
I’ve added icon support in ResourceLib, an open source C# File Resource Management library. This lets you programmatically enumerate and change icons in an executable/dll. I nee...
- — Log4Cxx for Win32 VS 2005, 2008, etc.
This guy just saved me tons of time. I’ve spent two days on a handle leak that I eventually tracked down to an older version of log4cxx that we have been using. Upgrading to log...
- — File Resource Management Library (.NET)
There are several good articles about reading and writing resources from/to a compiled binary. Most focus on retrieving module version information and modifying version informat...
