:set pexpr=
I get E15: Invalid expression errors.
Additionally, the "Compilation" section of the output from
":version" might give further hints. Particularly information
about being linked to comdlg32.lib, comctl32.lib, gdi32.lib,
shell32.lib, and winspool.lib (though others might be helpful).
kernel32, user32, gdi32, advapi32, comdlg32, comctl32, version,
wsock32, oleaut32, stdc++, ole32 and uuid. Interestingly enough,
winspool is missing, not sure if that's an issue or not.
Just as a last-ditch effort, you might try one of the following:
:set pexpr&
:set pexpr&vi
:set pexpr&vim
(see ":help :set-default" if you've not seen this syntax
before...it's not in my active vocabulary, so I had to look it up)
and see if it becomes anything other than what it was previously.
I suspect that for some reason this isn't a 100% "windows build".
It may be as simple as a missing build/configure option.
Strangely, I get an error about pexpr not being available in my
default win32 build (I don't have +postscript built in). Maybe
having +postscript precludes the use of the Win32 common print
dialog?
I'm not one of the masochists who try that little building stunt,
so perhaps some of the folks more well-versed in building Vim can
point you at what distinguishes a mingw build (or whatever
options you may have used) from the official "win32" build
available for packaged distribution.
yet more fuel for your fire...
-tim