Jump to content


Photo

Error - Access Violation

TNextGrid TNextDbGrid

  • Please log in to reply
4 replies to this topic

#1 Stefan Pastrilov

Stefan Pastrilov
  • Members
  • 34 posts
  • Gender:Male

Posted 09 October 2014 - 10:42 AM

Hi there,


I'm trying to migrate my project ot Delphi XE, but I have problems with TNextGrid and TNextDbGrid components...When application is running and it is opened a form which contains nextGrid or nextDBgrid it's giving a message "Access violation at address in module.... Read ofaddress 0000000034. ". I've re-installed components several times, even i resintall delphi but no success. Even If I start new empty project and put nextGrid or nextDBGrid component, and ther run the application-the same message. With the other componets of the suit there are no problems. Any ideas what I can do ?
The version of component (Grid and DBGrid) is 5.9.30.

Thank you in advance,

Regards,
Stefan

#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 7,856 posts
  • Gender:Male

Posted 10 October 2014 - 06:59 PM

Hello Stefan,

Can you please tell me on which line it stop after you press Break? Do yo maybe have some program which may trace origin of AV?

Thanks

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 Stefan Pastrilov

Stefan Pastrilov
  • Members
  • 34 posts
  • Gender:Male

Posted 11 October 2014 - 11:56 PM

Hello Boki,

Well it stops on 1811 (NxColumns) at line
  Grid := TNxCustomGrid(Owner);


function TNxColumns.IsReadingState: Boolean;
var
  Grid: TNxCustomGrid;
begin
  Grid := TNxCustomGrid(Owner);
  if csReading in Grid.ComponentState then Result := True else Result := False;
end;

Regards,
Stefan

#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 7,856 posts
  • Gender:Male

Posted 14 October 2014 - 06:11 AM

Hello Stefan,

Not sure what may cause this. Can you try to modify this method and add NIL checking:

At the beginning of method:

if Owner = nil then Exit;

You will probably need to re-compile packages then.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#5 robertgg1

robertgg1
  • Members
  • 1 posts

Posted 02 November 2017 - 04:28 PM

Hello Boki

 

I tried your method unfortunately without success.

An access violation message continues to appear
 
Delphi 10.1 Berlin Update2
Install components:
+ NextSiute5
+ NextSiute6
+ MyDAC (DEVART)
 
The error began to appear from day to day. Help because I have a project to donate and nothing I compile.  :unsure:






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users