Problem with Dynamic-link libraries

Discussion created by const24 on Jul 26, 2009
Latest reply on Aug 2, 2009 by const24

I have simple c++ console project that running simple function on gpu, all work fine.

But when i have built this project as dll and used this dll on other simple application, the program has been crashed with exception  "Access violation reading location 0x00000000".

When I am running any function on gpu at this application it's working and function in dll is working too.

Please tell me what's wrong?