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 Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1  
Old 01-21-2006, 06:44 AM
morlajb morlajb is online now
Registered User
 
Join Date: 11-27-2005
Posts: 19
error code 1073741819 in comlex VC6 project

Hi

I have a complex project ( 150 steps , include 80 steps of VC6)

" Process completed with exit code -1073741819

Failed to build project: msdev.exe exited with error code -1073741819 "

the VC6 project is completed , but this error code stop the build project. how can I ignore this error / or fix it ???

Thanks, Mor
Reply With Quote
  #2  
Old 01-21-2006, 08:24 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
That error code is being returned by msdev (the VC6 command-line compiler that VBP invokes to actually perform the build. If the build has successfully completed, you can use the workaround described here: http://www.kinook.com/Forum/showthre...?threadid=1463.

Otherwise, you would need to open a support incident with Microsoft regarding the problem. You can reproduce the problem outside VBP by checking the 'Display command-line...' option on the Options tab of the Make VC6 action, build again, and then copy/paste the failing msdev call into a Command Prompt and running there.
Reply With Quote
  #3  
Old 01-24-2006, 06:35 AM
morlajb morlajb is online now
Registered User
 
Join Date: 11-27-2005
Posts: 19
Hi

Thank for the quick response.

I am trying to ignore this error code - If I understan correcty I need to add check for every VC6 project that check the exit code and ignore the specific "-1073741819 ".

Can I get a sample of this , I tried with No luck...

Thanks , Mor
Reply With Quote
  #4  
Old 01-24-2006, 11:32 AM
morlajb morlajb is online now
Registered User
 
Join Date: 11-27-2005
Posts: 19
Hi

I got this error--> "Process completed with exit code -1073741819"

I think that the problem is in the visual build , because I didn't get it when I compile with MSDEV.

I can't build a test case for you , because it's NOT happend all the time. but when I 'cut' my project into small projects it's OK.

I think that you have a minor memory leak ....

Sorry & Thanks , Mor
Reply With Quote
  #5  
Old 01-24-2006, 11:50 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
The problem is in msdev, not VBP. To get an accurate comparison outside of VBP, you need to echo the exitcode after running MSDEV (running msdev in a command prompt or batch file will ignore the exit code [you can do the equivalent of this in VBP by unchecking 'Build failure steps' and checking 'Continue building' on the General tab]). Paste the msdev command into a batch file and add another line right after that:

echo Process completed with exit code %ERRORLEVEL%

Then execute the batch file from a command prompt to see the exit code.

To ignore that specific exit code for all Make VC6 steps in VBP, select all the Make VC6 steps in your project, select View | Properties on the menu, click the Script Editor button, copy/paste (requires VBP v6 and VBScript as default script language):

Sub vbld_StepDone()
If CLng(Application.ExpandMacros("%RUNPROGRAM_EXITCOD E%")) = -1073741819 Then
Step.BuildStatus = vbldStepStatSucceeded
End If
End Sub

into the Step tab, select File | Save & Close on the Script Editor menu, then click OK.
Reply With Quote
  #6  
Old 01-25-2006, 09:40 AM
morlajb morlajb is online now
Registered User
 
Join Date: 11-27-2005
Posts: 19
Hi

Thank for the quick response , I tried your work around , and until now it's looks OK.

Thanks , Mor
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 02:06 PM.


Copyright © 1999-2023 Kinook Software, Inc.