begge
15-Jun-2005, 04:21 PM
I am using EL 4.6.7
I have an ISAPI app that creates an access violation and I am not getting an email notification of the error.
This is the routine that creates it
(I can send you full source to this app if you need it)
implementation
var
GConn: Connection = nil;
GConnLock: TCriticalSection = nil;
function GetConn: Connection;
begin
// This line creates the AV because I forgot to create the instance in the unit initialization section
GConnLock.Enter;
try
if GConn = nil then
GConn:= OpenMSAccess(TAppDirectories.GlobalInstance.Databa se + 'DB.mdb');
Result:= GConn;
finally
GConnLock.Leave;
end;
end;
I have an ISAPI app that creates an access violation and I am not getting an email notification of the error.
This is the routine that creates it
(I can send you full source to this app if you need it)
implementation
var
GConn: Connection = nil;
GConnLock: TCriticalSection = nil;
function GetConn: Connection;
begin
// This line creates the AV because I forgot to create the instance in the unit initialization section
GConnLock.Enter;
try
if GConn = nil then
GConn:= OpenMSAccess(TAppDirectories.GlobalInstance.Databa se + 'DB.mdb');
Result:= GConn;
finally
GConnLock.Leave;
end;
end;