[AccessD] Access97 on W2000 crashes

Gustav Brock Gustav at cactus.dk
Tue Jan 10 13:55:04 CST 2006


Hi Andy

Hmm, if you can "see it working", I guess you run it from the Immediate window. That works, but it is not the same as calling it from code - that's the trap.
But I'm not saying this is the key to the solution, only that you may think the code gets compiled and saved while it perhaps doesn't.

I would follow Shamil's advice closely and track down the offending code lines. Then rewrite the code.

Once I had some very simple code (no API, no dll) that worked perfectly here and on the client's Win2000 machines. On her Win98 machines the app crashed much like yours - just poof and no Access. I rewrote the code and the problem was gone.

/gustav

>>> andy at minstersystems.co.uk 10-01-2006 19:12:14 >>>
But the SysCmd does work for me Gustav. I see it working, compilng and
saving. My problem's almost the very reverse as far as I can see. My
references all show as ok. Nothing broken. Nothing failing to compile.
Nothing to mend. It's just that something flipping well crashes despite
that. And, as I said, it's when the MDB has been decompiled and therefore my
Syscmd runs that everything works (see my post that begins "Well it's not an
issue anyway"). My problems come when I exit and then reload the
by-now-compiled MDB. Any ideas?

Any ideas from anyone who's ben following this?

Yours desperately

-- Andy Lacey
http://www.minstersystems.co.uk 


> -----Original Message-----
> From: accessd-bounces at databaseadvisors.com 
> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of 
> Gustav Brock
> Sent: 10 January 2006 15:51
> To: accessd at databaseadvisors.com 
> Subject: Re: [AccessD] Access97 on W2000 crashes
> 
> 
> Hi Andy
> 
> First, if the issue is a dll, one (fast) thing to check is if 
> any exists in more than one folder. If so, and you can't sort 
> that out, use RefLibPaths.
> 
> Then, SysCmd(..) run from code will not compile and save the 
> code. It must be done from outside a code module which means 
> manually (as we, the developer, do) or from a macro. 
> Brilliant idea from Charlotte. 
> It is not that difficult to implement. Read closely here from 
> the old thread:
> 
>   Broken References in Runtime AXP and A97. Solved!
> 
>   
> http://databaseadvisors.com/mailman/htdig/accessd/2003-July/01 
1034.html 

Note the extended test for broken references.

/gustav

>>> andy at minstersystems.co.uk 10-01-2006 14:52:32 >>>
I've listed below the results of running ListRefs on the two machines. At
first I thought they were identical, but there is one difference in the path
to the Outlok library. Under W98 this is

C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\msoutl9.olb

whereas W2K has the old-fashioned DOS'y path of

C:\PROGRA~1\MICROS~1\Office\msoutl9.olb

Surely this is not significant. It can't be, can it?

The other thing I thought odd was that the DAO 3.5 reference returns a
.Major and .Minor of 4.0 not 3.5, but then again it's the same on both
machines.





More information about the AccessD mailing list