0
votes

OK, so I have the joyous task of writing a command-line build for a bunch of legacy VB6 ActiveX DLLs (so that we can integrate this into our TFS builds).

I've installed a copy of VB6 on our build server, and I'm trying, as a first step, to get one of the projects building from the command line thusly:

> VB6.EXE /make path\to\project.vbp

The result is an error dialog telling me:

Unexpected error occurred in code generator or linker. [OK] [Help]

Can anyone point me in the direction of a solution, or at least give me a hint? Thanking any respondants in advance!

Edit

It's a cross-project dependency issue. Dammit.

2
Can you build the project successfully from within the VB 6 IDE? - Cody Gray

2 Answers

1
votes

Sorry, I'm an idiot - turns out that the components depend on each other in various undocumented ways, and they have to be compiled in a specific order which has long since been lost.

So now I'm trawling through 30+ VB projects and documenting the dependencies :)

Thanks for those who answered anyway, sorry to waste your time.

0
votes