Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   VB6 Crashes at a particular VBP step (https://www.kinook.com/Forum/showthread.php?t=2739)

fenris 06-26-2007 11:50 AM

VB6 Crashes at a particular VBP step
 
Hi,

I am having a problem building a visual basic 6 project. I have a VBP build script setup that builds 18 or so VB6 activeX dlls. I recently added a new dll to be built by the script. Every time that step is reached vb6 crashes (windows xp comes up with an error dialog saying that visual basic has crashed, would you like to debug it).

The funny things is that I can compile it from the IDE, from the command line (vb6 /m) and I can right-click on it and choose the make option. It just doesn't seem to work from the VBP script. I am at a loss as to why this doesn't work.


Here is the version information from VBP:
Quote:


Visual Build Professional 6.4
Windows Version: 5.1.2600.2.0
Install path: C:\Program Files\VisBuildPro6
SftTree_IX86_U_50.dll version 5.06
unins000.exe version 51.46.0.0
VisBuildCmd.exe version 6.4.0.2
VisBuildPro.exe version 6.4.0.2
VisBuildBld.dll version 6.4.0.2
VisBuildBurn.dll version 6.4.0.2
VisBuildCore.dll version 6.4.0.2
VisBuildDotNET.dll version 6.4.0.0
VisBuildExt.dll version 6.4.0.3
VisBuildLog.dll version 6.4.0.2
VisBuildMisc.dll version 6.4.0.3
VisBuildMS.dll version 6.4.0.2
VisBuildMS2.dll version 6.4.0.2
VisBuildNet.dll version 6.4.0.3
VisBuildSvr.dll version 6.4.0.2
VisBuildSvr.Interop.dll version 1.0.0.0
VisBuildVCS.dll version 6.4.0.4

This is the step that is causing problems:
Quote:


0
1
-1 %PROJDIR%\Production\Preferences\iRing_Preferences .vbp

-1

-1

Built for MineCAD v2.1

Stroma Engineering

iRing Preferences

© 2002 - 2007

© 2002 - 2007

iRing_Preferences.dll

iRing_Preferences

Stroma iRing Preferences MineCAD2

-1

-1

-1

-1

-1

-1

-1

-1

1



2

Make iRing_Preferences





Here is the output from the log:

Quote:


2007-06-26 11:56:23 AM: --------------------Starting Build: 'iRing_Build_Trunk.bld'--------------------

2007-06-26 11:56:23 AM: Building project step 'iRing Build'...

2007-06-26 11:56:23 AM: Building project step 'Compile Files'...

2007-06-26 11:56:23 AM: Building project step 'Make iRing_Error_Log'...

not building (no changes)...

2007-06-26 11:56:23 AM: Building project step 'Make iRing_Drawing_Zipper'...

not building (no changes)...

2007-06-26 11:56:23 AM: Building project step 'Make iRing_Preferences'...

incrementing version...building (project file newer than target executable)...



Process completed with exit code -1073741819

restoring version...

Failed to build project

2007-06-26 11:56:36 AM: Step 'Make iRing_Preferences' failed

2007-06-26 11:56:36 AM: Build ended.




Here is a step that works:

Quote:




-1

1

-1

%PROJDIR%\Production\Drawing Zipper\DrawingZipper.vbp

-1

-1

Built for MineCAD v2.1

Stroma Engineering

iRing Drawing Zipper

© 2002 - 2007

© 2002 - 2007

iRing_Common_MineCAD2.dll

iRing_Drawing_Zipper

Stroma iRing Drawing Zipper

-1

-1

-1

-1

-1

-1

-1

1



This will build the iRing_DrawingZipper dll

2

Make iRing_Drawing_Zipper



kinook 06-26-2007 12:14 PM

http://www.kinook.com/Forum/showthre...?threadid=2740

fenris 06-27-2007 08:28 AM

Thanks Kinook!

It was indeed a problem with the vb code. For some strange reason, there were duplicate controls that were not in a control array. VB didn't complain about them. Once they were manually removed (i.e. using notepad on the .frm file itself) VBP compiled it properly....


All times are GMT -5. The time now is 11:30 PM.


Copyright © 1999-2023 Kinook Software, Inc.