OK well, maybee i didn't make it clear that i was running it from a dos prompt in a dos command window.
and I wasn't attempting to run the sdk either - i was running the ahcmd.exe that comes w/ the sdk.
When i mention "random" crash - this means that sometimes it works - actually - it works probably 70-80% of the time. I'm pretty sure i've got the syntax correct since it actually works *most* of the time. and since it works *most* of the time, that makes me believe that i've probably got all the miscellaneous supporting stuff in place correctly.
The problem is that it randomly crashes, and the error message i reported in the first post is the error message associated with the crash.
I'm trying to find ways to help this little program run *all* the time - can anyone help with that?
Since the error message tells me that the actual module that's crashing is ole32.dll, which, i believe, is a microsoft dll, and this dll is associated with late (run-time) binding of external libraries and other objects, that possibly by compiling the ahcmd so that it doesn't use late binding, but rather actually links the library at compile time, this would circumvent the use of ole32.dll altogether, possibly circumventing the crash. just a theory, and of course that means that somehow i'd need to get my hands on the correct library.
Alternatively, it occurred to me that possibly the ole32.dll that ahcmd runs successfully under is some particular version, and if so, then knowing what that version is might solve the problem.
thanx
r