Re: Ok in IDE but fails when run as an EXE
- From: "Tony Proctor" <tony_proctor@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 10 Aug 2005 16:09:57 +0100
You could try changing the build options to generate symbolic debug info in
the EXE, and then debug it with an external C debugger. Interpreting the
resultant stack may need a bit of thought but it might give you a few more
clues.
Tony Proctor
"Peter Jones" <PeterJones@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8DA5F4C9-522D-4CFF-9B22-AC46134B4761@xxxxxxxxxxxxxxxx
> Hi,
>
> I have an app that works ok in the VB6 (VS SP6) IDE but fails when
compiled
> and run as an EXE. It fails with a can't read memory error on line that
says:
>
> Set Object1 = Object2
>
> I'm trying to track down the reason for this and I was wondering if anyone
> can point me to a resource that explains the difference between executing
> under the IDE and executing under the VB runtimes. I know I've come across
> such a document in the past but now can't find a reference to it.
>
> Let me just explain my problem in more detail to see if anyone can help in
a
> more specific manner. The app VB6 / SQL Server that has been fine for a
long
> time. Part of it is a program that maintains a whole stack of control
tables
> and we used a program generator called Shoutsoft (ComExpress) to create
the
> code and this is where the problem is. Our main processing programs work
fine
> it is just this ComExpress generated code. The error line (Set Object1 =
> Object2) is using custom objects built by the ComExpress generator, i.e.
> something I have no control over.
>
> Existing clients are Windows 2000/2003 based and work fine but we are
> installing in 2 new sites that are Windows 2003/SP1 based. It is SP1 that
> stops the ComExpress app from working. The symptoms are the app starts ok
but
> as soon as form is selected it will either exit with no error or a memory
> read error without anything getting in the event log.
>
> Any help would be greatly appreciated.
>
> TIA Peter
>
.
- References:
- Ok in IDE but fails when run as an EXE
- From: Peter Jones
- Ok in IDE but fails when run as an EXE
- Prev by Date: Re: Problem with .properties("...")
- Next by Date: Re: Problem with .properties("...")
- Previous by thread: Re: Ok in IDE but fails when run as an EXE
- Next by thread: Need help with Zorder
- Index(es):
Relevant Pages
|