[AccessD] API calls crashing

Andy Lacey andy at minstersystems.co.uk
Wed Feb 4 01:28:21 CST 2015


No, but I think they installed a later version of Access. I duly uninstalled
that and reapired (but didn't reinstall which I plan to do today) mine. That
didn't sort it.

Andy

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav
Sent: 03 February 2015 23:17
To: 'Access Developers discussion and problem solving'
Subject: Re: [AccessD] API calls crashing


Hey Andy
Did they update the version of Windows on that machine?

Tony Septav
Nanaimo, BC
Canada

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey
Sent: February-03-15 9:06 AM
To: Access Developers discussion and problem solving
Subject: [AccessD] API calls crashing

I am totally at a loss on this.
 
My big Access 97 app (I know, I know, but it works) is crashing on one
machine,
a machine it has run on for years. I've tracked it down to API calls. Any
time
it calls a Kernel32 API it just exits - no message, no nothing, just closes.
Now
it's perfectly possible that central ICT here have installed or updated
something overnight which has interfered, in fact I can only think that must
have happened. Question is, what can I do about it?
 
This is a typical api call which crashes out:
 

Private Declare Function apiGetComputerName Lib "Kernel32" Alias _
"GetComputerNameA" (ByVal lpBuffer As String, nSize As Long) As Long

 

I know I could use Environ to get the computer name but that's not the
point.
There are lots of similar calls and they're all failing.

Help please.

Andy

 

 
-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com


-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2015.0.5645 / Virus Database: 4273/9047 - Release Date: 02/02/15

-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list