PDA

View Full Version : VBP error - Invalid procedure call or argument


pjaiswal
04-16-2007, 05:55 PM
Hi,

I am getting an error in my build script which I was not getting earlier. The only change is that I moved to a new machine and upgraded from Visual Build version 6.2 to 6.3.

The steps from my build are as follows

1. register a dll used for line number generation for VB projects

2. create a bat file with the list of VB projects from a directory for which the line number has to be generated

3.Loop through the bat file, open each VB project in the list, and doing this automatically generates the line numbers for each VB project (because of the dll we registered).

4. unregister the dll after all the VB projects are done

This was working fine with 6.2 on the old machine. Now with Version 6.3 I get this error message as soon as the VB project is loaded saying:

Visual Build pro
"Invalid procedure call or argument"

If I repeat these steps manually, not running it from a build script there is no error message. This error message comes up only if I try to run the build script.

Am I missing something?

I have attached the error message below.

Thanks,
PJ

kinook
04-17-2007, 08:11 AM
One possibility is the threading changes introduced in v6.3:
http://www.visualbuild.com/Manual/threading.htm

Please ZIP and send or post:
1) The info from Help | About | Install Info
2) The .bld file
3) A build log file
4) The command-line used to invoke VBP

Thanks.