access violation
From: [BuKoX] (bukox_at_gazeta.pl)
Date: 12/21/04
- Next message: Ekkehard Domning: "Re: access violation"
- Previous message: J West: "Re: Broken SQL"
- Next in thread: Ekkehard Domning: "Re: access violation"
- Reply: Ekkehard Domning: "Re: access violation"
- Reply: Rob Kennedy: "Re: access violation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 21 Dec 2004 09:18:00 +0100
Hello.
I have a problem with Access Violation error. In main program I have:
var
qResult : TStringList;
procedure sth();
begin
try
qResult := TStringList.Create;
q('SELECT ...',qResult)
...
finally
qResult.Free;
end;
end;
and in dll I have:
function q(query:string;var qResult:TStringList):boolean;
begin
...
qResult.Add('sth');
...
end;
And exactly in add method EAccess Violation appears. I put ShareMem unit
both in project and dll as first unit.
What's wrong?
-- __ __ |__\\ | || |_// / \\ \_// FreeBSD: The Power To Serve |__// |__|| | \\ \__// / \\ +------------------------------+ +[ http://bukox.prv.pl ][ http://total.bukox.dmkproject.pl ]+
- Next message: Ekkehard Domning: "Re: access violation"
- Previous message: J West: "Re: Broken SQL"
- Next in thread: Ekkehard Domning: "Re: access violation"
- Reply: Ekkehard Domning: "Re: access violation"
- Reply: Rob Kennedy: "Re: access violation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|