Re: VB6 Compile error



"gary" <gary5x8@xxxxxxxx> wrote in message
news:s9h2g.55$k01.1738@xxxxxxxxxxxxxxxxxx
I have just moved a W95/VB5 project to a W2K SP4 /VB6 SP6/ CodeSmart
machine.

The program runs in the IDE but I get the following error on compile:


VB6.exe has generated errors and will be closed by Windows.

An error log is being created.

The first lines of drwtsn32.log are

Application exception occurred:
App: VB6.exe (pid=872)
When: 4/21/2006 @ 19:55:15.926
Exception number: c0000005 (access violation)

Where should I start looking and at what?

Download the C2 example here:

http://mikesdriveway.com/code

that will narrow it down to the module that is causing the gpf.

Michael


.



Relevant Pages

  • Re: Momentary black screen when program launches
    ... lets say the compiler takes 5 seconds to compile my source. ... seconds is up then I can get back to the Windows desktop and I will see an ... spawned by another program (IDE, Explorer, etc.) ... The Help and Support newsgroup is *terribly* named, ...
    (microsoft.public.windowsxp.general)
  • Re: Vista cuts bottom of my form
    ... I had that problem in IDE for years. ... Interestingly, after changing many times computers and Windows, sometimes I ... that Vista cuts bottom of my app GUI and he cannot ... so that you can see it and then compile. ...
    (microsoft.public.vb.general.discussion)
  • Re: App.config
    ... If you compile from the command line and copy the binary to the /bin ... you are in the IDE and it handles all of that for you. ... :>> Michael ...
    (microsoft.public.dotnet.languages.vb)
  • Re: FPC - Oh joy...
    ... declared to be "in use" by Windows, and when the IDE was closed the file was released. ... into another way to compile while in the IDE. ... In Vista, I open a console within Windows, then change to my working dir and type the ...
    (comp.lang.pascal.misc)
  • VB6 Compile error
    ... The program runs in the IDE but I get the following error on compile: ... VB6.exe has generated errors and will be closed by Windows. ... Exception number: c0000005 (access violation) ...
    (microsoft.public.vb.general.discussion)