Bug in Cuda Partilces Problem

Hi all,

I am trying to run cuda particles demo and it works fine but when i tried to use dumpParticles method, it doesnot work . It gives an error says:

“First-chance exception at 0x0872bf50 in particles.exe: 0xC0000005: Access violation reading location 0x00000001”

Any one know the problem?

It looks like somebody made a mistake when updating this for the new interop API. You need to change this line in dumpParticles():


and change the function prototype in particleSystem.cuh to: