PDA

View Full Version : Preventing crash in VB6.exe from Make VB6 action


kinook
06-26-2007, 11:59 AM
When building a VB6 project from the command-line with the Make VB6 action, vb6.exe may crash, followed by this error in the Visual Build log:
Process completed with exit code -1073741819

The error code indicates an access violation in vb6.exe. Some possible causes for this error:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q194753

http://groups.google.com/group/microsoft.public.management.mmc/browse_thread/thread/375c80d12506c37d/40e575544ce519c0?lnk=st&q=vb6.exe+command-line+access+violation&rnum=1&hl=en#40e575544ce519c0

http://support.microsoft.com/kb/q190165/

If none these help resolve the problem, open a support incident with MS regarding the problem, providing the vb6 command-line used to build the project by checking the 'Display the compiler command-line' option on the Options tab of the Make VB6 action and rebuilding the step. Note: Since the Make VB6 action uses a temporary copy of the .vbp file to get around the VB6 limitation of not being able to build a project from the command-line that is already loaded in the IDE, remove the ~~tmp from the vbp filename that the Make VB6 action logs.