Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] 0xC0000005: Access violation reading location

Subject: CGAL users discussion list

List archive

[cgal-discuss] 0xC0000005: Access violation reading location


Chronological Thread 
  • From: <>
  • To:
  • Subject: [cgal-discuss] 0xC0000005: Access violation reading location
  • Date: Sun, 15 Feb 2009 18:16:05 +0100 (CET)

Hi,

I was trying to output the triangles generated through delaunay triangulator
in
DirectX.

When I run the triangulation code as a console application, it runs fine and
but when I call the same code in DirectX c++, I get run time exception,

First-chance exception at 0x004ffb10 (msvcr80d.dll) in DirectXDisplay.exe:
0xC0000005: Access violation reading location 0x00000000.

The strange thing is exception is occuring in the Delaunay triangulator,
while
evaluating the triangulation from list of Points. i.e. inside

Dt(P.begin(),P.end);

in above statement P is list of points.

I am currently using VS2005 and DirectX9 on Windows XP.

Do I need to change any project setting while calling any method of CGAL in
directX code?

Please point out where am I doing the mistake.

Thanks
Avanindra



Archive powered by MHonArc 2.6.16.

Top of Page