Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-26-2007, 11:50 AM
fenris fenris is online now
Registered User
 
Join Date: 06-26-2007
Posts: 2
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:
<step action='Make VB6'>
<Attr type='11'>0</Attr>
<BaseSel type='3'>1</BaseSel>
<CircularRefError type='11'>-1</CircularRefError> <Filename>%PROJDIR%\Production\Preferences\iRing_P references.vbp</Filename>

<IncrReason type='11'>-1</IncrReason>

<LogDependencies type='11'>-1</LogDependencies>

<Property0>Built for MineCAD v2.1</Property0>

<Property1>Stroma Engineering</Property1>

<Property2>iRing Preferences</Property2>

<Property3>© 2002 - 2007</Property3>

<Property4>© 2002 - 2007</Property4>

<Property5>iRing_Preferences.dll</Property5>

<Property6>iRing_Preferences</Property6>

<Property7>Stroma iRing Preferences MineCAD2</Property7>

<PropertyOn0 type='11'>-1</PropertyOn0>

<PropertyOn1 type='11'>-1</PropertyOn1>

<PropertyOn2 type='11'>-1</PropertyOn2>

<PropertyOn3 type='11'>-1</PropertyOn3>

<PropertyOn4 type='11'>-1</PropertyOn4>

<PropertyOn5 type='11'>-1</PropertyOn5>

<PropertyOn6 type='11'>-1</PropertyOn6>

<PropertyOn7 type='11'>-1</PropertyOn7>

<VersionSel type='3'>1</VersionSel>

<command></command>

<indent type='3'>2</indent>

<name>Make iRing_Preferences</name>

</step>


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:

<step action='Make VB6'>

<Attr type='11'>-1</Attr>

<BaseSel type='3'>1</BaseSel>

<CircularRefError type='11'>-1</CircularRefError>

<Filename>%PROJDIR%\Production\Drawing Zipper\DrawingZipper.vbp</Filename>

<IncrReason type='11'>-1</IncrReason>

<LogDependencies type='11'>-1</LogDependencies>

<Property0>Built for MineCAD v2.1</Property0>

<Property1>Stroma Engineering</Property1>

<Property2>iRing Drawing Zipper</Property2>

<Property3>© 2002 - 2007</Property3>

<Property4>© 2002 - 2007</Property4>

<Property5>iRing_Common_MineCAD2.dll</Property5>

<Property6>iRing_Drawing_Zipper</Property6>

<Property7>Stroma iRing Drawing Zipper</Property7>

<PropertyOn0 type='11'>-1</PropertyOn0>

<PropertyOn1 type='11'>-1</PropertyOn1>

<PropertyOn2 type='11'>-1</PropertyOn2>

<PropertyOn3 type='11'>-1</PropertyOn3>

<PropertyOn4 type='11'>-1</PropertyOn4>

<PropertyOn6 type='11'>-1</PropertyOn6>

<PropertyOn7 type='11'>-1</PropertyOn7>

<VersionSel type='3'>1</VersionSel>

<command></command>

<description>This will build the iRing_DrawingZipper dll</description>

<indent type='3'>2</indent>

<name>Make iRing_Drawing_Zipper</name>

</step>
Reply With Quote
  #2  
Old 06-26-2007, 12:14 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
http://www.kinook.com/Forum/showthre...?threadid=2740
Reply With Quote
  #3  
Old 06-27-2007, 08:28 AM
fenris fenris is online now
Registered User
 
Join Date: 06-26-2007
Posts: 2
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....
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 06:20 AM.


Copyright © 1999-2023 Kinook Software, Inc.