Hi,
I am getting the same "Run-time error: 5 Invalid procedure call or argument" error, but only when I use something other than Outlook (for example the Gmail Pop importer or the Blackberry Internet Service) to connect to pop2owa. I run the program with -v 3, but it appears to abort before logging. I have the dependenacywalker.com and was able to get this from profiling the program...
2009-07-02 05:02:12 UTC in POP3/SMTP to OWA