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)
-   -   error code 1073741819 in comlex VC6 project (https://www.kinook.com/Forum/showthread.php?t=1483)

morlajb 01-21-2006 05:44 AM

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

kinook 01-21-2006 07:24 AM

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.

morlajb 01-24-2006 05:35 AM

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

morlajb 01-24-2006 10:32 AM

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

kinook 01-24-2006 10:50 AM

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_EXITCODE%")) = -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.

morlajb 01-25-2006 08:40 AM

Hi

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

Thanks , Mor


All times are GMT -5. The time now is 06:14 PM.


Copyright © 1999-2023 Kinook Software, Inc.