Peter, if that last suggestion of mine regarding StringBuilder doesn't get rid of the ERROR_INVALID_PARAMETER problem, please post the values you are sending to ReadEventLog. Even better still, include the code that creates/retrieves those values.
-- Peter On Tue, 26 Apr 2005 06:27:43 -0400, Pete Lutwyche <[EMAIL PROTECTED]> wrote: >John, Ivan, thanks for your help. > >The array seems big enough - 100000 bytes, when processing a 64kb file. > >SetLastError=true was very helpful - I am getting back error 87 - >ERROR_INVALID_PARAMETER - so now just need to find out which paramter is >invalid. > > =================================== This list is hosted by DevelopMentor� http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
