windows 64 bit runtime error 5 invalid procedure call or arg

billy@kaltirre
Lounger
Posts: 30
Joined: 26 May 2011, 10:50

windows 64 bit runtime error 5 invalid procedure call or arg

Post by billy@kaltirre »

windows 64 bit runtime error 5 invalid procedure call or argument

hi we have custom visual basic 6 software that is used to run reports an when we try to generate the report it come up with the error this only happens on 64 bit reinstalling windows is not an option can anyone help?

User avatar
HansV
Administrator
Posts: 78596
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: windows 64 bit runtime error 5 invalid procedure call or

Post by HansV »

Error 5 is a rather generic error. Perhaps the program calls a Windows API function in a way that is not valid in 64-bit Windows, but it's impossible to know the exact cause without looking at the source code.
Best wishes,
Hans