Solved

VB6 Crashes while writing EXE

Posted on 2007-11-20
5
2,892 Views
Last Modified: 2013-12-26
when trying to make a new EXE vb6 compiles and half way through writing the EXE either closes or crashes with unhandled error.

The same project can be made on a spacific machine but all the other machines fail with same error, all machines are running vb6 SP6 with XP Pro SP2 and IE6

any help on this would be great
0
Comment
Question by:YellowbusTeam
5 Comments
 
LVL 16

Expert Comment

by:JohnBPrice
ID: 20319482
There should be something in your event log that describes what the problem is.
0
 

Author Comment

by:YellowbusTeam
ID: 20319654
Event logh has the following 2 errors although they dont mean much to me

Hanging application VB6.EXE, version 6.0.97.82, hang module hungapp, version 0.0.0.0, hang address 0x00000000.

and

Faulting application vb6.exe, version 6.0.97.82, faulting module ntdll.dll, version 5.1.2600.2180, fault address 0x00010f29.
0
 
LVL 17

Expert Comment

by:Shanmuga Sundaram
ID: 20320009
Ensure that there are no problems with the third party controls that you are using with your vb program. This should be caused even due to mishandling of your computers memory.
0
 
LVL 16

Accepted Solution

by:
JohnBPrice earned 500 total points
ID: 20320255
Unfortunately ntdll is so critical to everything that windows is doing that the problem could be cause by a wide variety of things.  It could be some software package you have installed, it could be CPU incompatibilities (I saw some people complaining that some AMD CPU's crash in ntdll).  Check if everything has the latest updates.

The first step to diagnose, since you have a working machine, is to identify anything different on the working machine, CPU, installed software, versions, etc.

You might also try rebuilding a machine from scratch and a clean install of XP with bare minimum components and see if you can build, and then slowly add your standard stuff until you identify what software (if any) is causing the problem.

0
 
LVL 26

Expert Comment

by:EDDYKT
ID: 20320306
Make sure you disable all add-in and try again
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now