C#, MFC, ATL, and Scripting
Wow. I didn't realize how hard it would be to create a wrapper for OpenFileNames. I know it would take me about 5 minutes to code in C# or VB... but getting C++ COM stuff right so that it shows up with VBScript scripting is a real PITA (IMHO).
I started out thinking I would write a C# COM component (research pointed to this and this). After it didn't work on the first try... and thinking about the ramifications (mainly a .Net framework requirement for using a simple website), I felt that it would be better to code it in a nice, simple, small C++ DLL. It should be just a few lines of code, right?
Well, I wrestled with MFC to create the COM component (research)... and finally gave up when I couldn't convince MFC that my methods really should be made public.
I'll share my code (if possible) when I get it working. Right now I have a compiling COM DLL that is exposing itself perfectly, and script that can call it just right... but nothing is wanting to return (probably a problem in handling variant/BSTR conversion).
So... yeah. I'm more a C++ newb than I thought. I only take comfort that I do know how to code (just in other languagse), and I will get better in this arcane language (which is more figuring out how to work with, rather than against, the templates). And once I "master" C++... well... I've been wanting to pick up assembly and Cg. :)